aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-15 00:01:01 +0000
committernicm <nicm>2016-10-15 00:01:01 +0000
commit9b3ae84993d2493ff0761efbcda0b9d188ed6d9e (patch)
tree1bc73ae686ffab79340340746955900c843fc3a8 /server.c
parented971268be7cfd5a4a8223211401654b30a57cbd (diff)
downloadrtmux-9b3ae84993d2493ff0761efbcda0b9d188ed6d9e.tar.gz
rtmux-9b3ae84993d2493ff0761efbcda0b9d188ed6d9e.tar.bz2
rtmux-9b3ae84993d2493ff0761efbcda0b9d188ed6d9e.zip
Drain notifys once at the end of the server loop instead of doing it
from the end of every command queue (which could be nested).
Diffstat (limited to 'server.c')
-rw-r--r--server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.c b/server.c
index bcb596b8..e6d1c09f 100644
--- a/server.c
+++ b/server.c
@@ -192,6 +192,7 @@ server_loop(void)
struct client *c;
server_client_loop();
+ notify_drain();
if (!options_get_number(global_options, "exit-unattached")) {
if (!RB_EMPTY(&sessions))