Some extra logging to show why tmux might exit.

This commit is contained in:
nicm
2017-07-09 22:33:09 +00:00
parent bfaa885f10
commit 58b796608f
5 changed files with 11 additions and 10 deletions

View File

@ -333,7 +333,7 @@ server_destroy_session_group(struct session *s)
else {
TAILQ_FOREACH_SAFE(s, &sg->sessions, gentry, s1) {
server_destroy_session(s);
session_destroy(s);
session_destroy(s, __func__);
}
}
}
@ -399,7 +399,7 @@ server_check_unattached(void)
if (!(s->flags & SESSION_UNATTACHED))
continue;
if (options_get_number (s->options, "destroy-unattached"))
session_destroy(s);
session_destroy(s, __func__);
}
}