mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
SESSION_UNATTACHED flag is no longer necessary now we have an attached
count instead.
This commit is contained in:
@ -430,7 +430,7 @@ server_check_unattached(void)
|
||||
* set, collect them.
|
||||
*/
|
||||
RB_FOREACH(s, sessions, &sessions) {
|
||||
if (!(s->flags & SESSION_UNATTACHED))
|
||||
if (s->attached != 0)
|
||||
continue;
|
||||
if (options_get_number (s->options, "destroy-unattached"))
|
||||
session_destroy(s, __func__);
|
||||
|
Reference in New Issue
Block a user