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

@ -61,12 +61,12 @@ cmd_kill_session_exec(struct cmd *self, struct cmdq_item *item)
RB_FOREACH_SAFE(sloop, sessions, &sessions, stmp) {
if (sloop != s) {
server_destroy_session(sloop);
session_destroy(sloop);
session_destroy(sloop, __func__);
}
}
} else {
server_destroy_session(s);
session_destroy(s);
session_destroy(s, __func__);
}
return (CMD_RETURN_NORMAL);
}