mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make sure to keep track of canceled events.
Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
This commit is contained in:
parent
646e29ccac
commit
57ab2e0468
1 changed files with 2 additions and 0 deletions
|
|
@ -242,6 +242,8 @@ g_cancel_event(void *ref)
|
|||
} else {
|
||||
g_free(ep);
|
||||
}
|
||||
if (--g_pending_events == 0)
|
||||
wakeup(&g_pending_events);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue