From f3931497f8aee291bce132fb106cedb55c5b3fa9 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 2 Jun 2020 08:17:27 +0000 Subject: Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control mode %output blocks. --- server-client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server-client.c') 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) { -- cgit