mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-03 20:48:54 +01:00
parent
3be116bb6e
commit
8e246f6f98
@ -153,6 +153,8 @@ session_create(const char *name, const char *cmd, const char *cwd,
|
||||
return (s);
|
||||
}
|
||||
|
||||
extern void signal_waiting_clients(const char *name);
|
||||
|
||||
/* Destroy a session. */
|
||||
void
|
||||
session_destroy(struct session *s)
|
||||
@ -163,6 +165,8 @@ session_destroy(struct session *s)
|
||||
RB_REMOVE(sessions, &sessions, s);
|
||||
notify_session_closed(s);
|
||||
|
||||
signal_waiting_clients("session-exit");
|
||||
|
||||
free(s->tio);
|
||||
|
||||
session_group_remove(s);
|
||||
|
Loading…
Reference in New Issue
Block a user