mirror of
https://github.com/tmux/tmux.git
synced 2026-08-24 07:31:36 +00:00
Correctly clear clients referring to a session with destroy-unattached,
GitHub issue 5497 from Jeong, Heon.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: server-fn.c,v 1.149 2026/07/27 14:25:46 nicm Exp $ */
|
||||
/* $OpenBSD: server-fn.c,v 1.150 2026/08/18 07:32:09 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -548,6 +548,7 @@ server_check_unattached(void)
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
server_destroy_session(s);
|
||||
session_destroy(s, 1, __func__);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user