mirror of
https://github.com/tmux/tmux.git
synced 2025-03-29 02:08:48 +00:00
Do not care about the server socket closing if exiting anyway.
This commit is contained in:
parent
2b58c226db
commit
632636dba5
2
client.c
2
client.c
@ -553,8 +553,10 @@ static void
|
|||||||
client_dispatch(struct imsg *imsg, __unused void *arg)
|
client_dispatch(struct imsg *imsg, __unused void *arg)
|
||||||
{
|
{
|
||||||
if (imsg == NULL) {
|
if (imsg == NULL) {
|
||||||
|
if (!client_exitflag) {
|
||||||
client_exitreason = CLIENT_EXIT_LOST_SERVER;
|
client_exitreason = CLIENT_EXIT_LOST_SERVER;
|
||||||
client_exitval = 1;
|
client_exitval = 1;
|
||||||
|
}
|
||||||
proc_exit(client_proc);
|
proc_exit(client_proc);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user