Commit fd037e9d authored by Denis Bilenko's avatar Denis Bilenko

fix watcher leak in cares.pxi

parent 85543b2c
......@@ -333,6 +333,7 @@ cdef public class ares_channel [object PyGeventAresChannelObject, type PyGeventA
watcher.stop()
watcher._watcher.events = events
else:
watcher.stop()
self._watchers.pop(socket, None)
return
watcher._start(self._process_fd, (GEVENT_CORE_EVENTS, watcher))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment