event/TimeoutMonitor: really reset "active" flag before invoking OnTimeout()
The previous commit was broken. D'oh!
This commit is contained in:
parent
d16fb79708
commit
f06fe1ea98
|
@ -65,7 +65,7 @@ void
|
||||||
TimeoutMonitor::Run()
|
TimeoutMonitor::Run()
|
||||||
{
|
{
|
||||||
#ifdef USE_EPOLL
|
#ifdef USE_EPOLL
|
||||||
active = true;
|
active = false;
|
||||||
#else
|
#else
|
||||||
Cancel();
|
Cancel();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue