Make sure to keep track of canceled events.
Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
This commit is contained in:
parent
597deaa7b8
commit
0592926b47
@ -242,6 +242,8 @@ g_cancel_event(void *ref)
|
||||
} else {
|
||||
g_free(ep);
|
||||
}
|
||||
if (--g_pending_events == 0)
|
||||
wakeup(&g_pending_events);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user