1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04: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:
Timo Sirainen 2002-04-15 14:10:26 +00:00 committed by cras
parent 53d595ba7f
commit 8f63d1e86f

View File

@ -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",