Make sure to keep track of canceled events.

Submitted by:	Pawel Jakub Dawidek <nick@garage.freebsd.pl>
This commit is contained in:
phk 2004-01-23 21:09:38 +00:00
parent 597deaa7b8
commit 0592926b47

View File

@ -242,6 +242,8 @@ g_cancel_event(void *ref)
} else {
g_free(ep);
}
if (--g_pending_events == 0)
wakeup(&g_pending_events);
break;
}
}