Log what is happening with window and session reference counts much more

obviously.
This commit is contained in:
nicm
2017-04-28 19:13:55 +00:00
parent bcd6b41674
commit 0f2f783584
6 changed files with 41 additions and 25 deletions

View File

@ -64,7 +64,7 @@ alerts_callback(__unused int fd, __unused short events, __unused void *arg)
TAILQ_REMOVE(&alerts_list, w, alerts_entry);
w->flags &= ~WINDOW_ALERTFLAGS;
window_remove_ref(w);
window_remove_ref(w, __func__);
}
alerts_fired = 0;
}
@ -148,7 +148,7 @@ alerts_queue(struct window *w, int flags)
if (!w->alerts_queued) {
w->alerts_queued = 1;
TAILQ_INSERT_TAIL(&alerts_list, w, alerts_entry);
w->references++;
window_add_ref(w, __func__);
}
if (!alerts_fired) {