Remove polling threads from map.
This commit is contained in:
parent
31286e4580
commit
c8eb30f6f0
|
@ -272,6 +272,7 @@ final class PollEventDriverWatchers(Events : EventDriverEvents) : EventDriverWat
|
||||||
assert(pt !is null);
|
assert(pt !is null);
|
||||||
if (!m_events.releaseRef(evt)) {
|
if (!m_events.releaseRef(evt)) {
|
||||||
pt.dispose();
|
pt.dispose();
|
||||||
|
m_pollers.remove(evt);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue