1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-24 06:48:48 +00:00

Do not care about the server socket closing if exiting anyway.

This commit is contained in:
nicm 2021-02-12 06:52:48 +00:00
parent 2b58c226db
commit 632636dba5
2 changed files with 5 additions and 3 deletions

View File

@ -553,8 +553,10 @@ static void
client_dispatch(struct imsg *imsg, __unused void *arg)
{
if (imsg == NULL) {
if (!client_exitflag) {
client_exitreason = CLIENT_EXIT_LOST_SERVER;
client_exitval = 1;
}
proc_exit(client_proc);
return;
}