mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Similarly, for sessions use a callback to free rather than checking
every loop.
This commit is contained in:
parent
10e90ae01f
commit
641a9cd3f5
5 changed files with 32 additions and 28 deletions
2
notify.c
2
notify.c
|
|
@ -123,7 +123,7 @@ notify_drain(void)
|
|||
if (ne->client != NULL)
|
||||
server_client_unref(ne->client);
|
||||
if (ne->session != NULL)
|
||||
ne->session->references--;
|
||||
session_unref(ne->session);
|
||||
if (ne->window != NULL)
|
||||
window_remove_ref(ne->window);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue