diff options
author | nicm <nicm> | 2020-06-02 08:17:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-06-02 08:17:27 +0000 |
commit | f3931497f8aee291bce132fb106cedb55c5b3fa9 (patch) | |
tree | 2acdacdac20714ab521508b93e362e35478ea06a /server-client.c | |
parent | 563b7331da2d31aca470389817c282a46da7c872 (diff) | |
download | rtmux-f3931497f8aee291bce132fb106cedb55c5b3fa9.tar.gz rtmux-f3931497f8aee291bce132fb106cedb55c5b3fa9.tar.bz2 rtmux-f3931497f8aee291bce132fb106cedb55c5b3fa9.zip |
Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control
mode %output blocks.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c index 81af2f07..e3383aab 100644 --- a/server-client.c +++ b/server-client.c @@ -1779,7 +1779,9 @@ server_client_check_exit(struct client *c) struct client_file *cf; const char *name = c->exit_session; - if ((c->flags & CLIENT_EXITED) || (~c->flags & CLIENT_EXIT)) + if (c->flags & (CLIENT_DEAD|CLIENT_EXITED)) + return; + if (~c->flags & CLIENT_EXIT) return; if (c->flags & CLIENT_CONTROL) { |