Commit 551fff41 authored by Denis Bilenko's avatar Denis Bilenko

core.pyx: remove __dealloc__ method

it does not seem possible that and event may need to be cancelled and DECREFed in __dealloc__
parent bb20a294
......@@ -190,9 +190,6 @@ cdef class event:
event_del(&self.ev)
Py_DECREF(self)
def __dealloc__(self):
self.cancel()
def __repr__(self):
if self.pending:
pending = ' pending'
......
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