mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Log what is happening with window and session reference counts much more
obviously.
This commit is contained in:
4
alerts.c
4
alerts.c
@ -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) {
|
||||
|
Reference in New Issue
Block a user