mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue