event/SignalMonitor: fix obsolete nullptr check in SignalCallback()
This commit is contained in:
parent
743fa73a01
commit
22a353b8e3
@ -115,7 +115,7 @@ at_fork_child()
|
||||
static void
|
||||
SignalCallback(int signo)
|
||||
{
|
||||
assert(signal_handlers[signo] != nullptr);
|
||||
assert(signal_handlers[signo]);
|
||||
|
||||
if (!signal_pending[signo].exchange(true))
|
||||
monitor->WakeUp();
|
||||
|
Loading…
Reference in New Issue
Block a user