mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
display the refcount properly when complaining that signal is still
referenced git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2684 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
53d595ba7f
commit
8f63d1e86f
@ -389,8 +389,9 @@ void signals_init(void)
|
||||
|
||||
static void signal_free(void *key, Signal *rec)
|
||||
{
|
||||
/* refcount-1 because we just referenced it ourself */
|
||||
g_warning("signal_free(%s) : signal still has %d references:",
|
||||
signal_get_id_str(rec->id), rec->refcount);
|
||||
signal_get_id_str(rec->id), rec->refcount-1);
|
||||
|
||||
while (rec->hooks != NULL) {
|
||||
g_warning(" - module '%s' function %p",
|
||||
|
Loading…
Reference in New Issue
Block a user