Don't delete context from python side only

This commit is contained in:
Willem Melching
2019-11-04 14:20:53 -08:00
parent bd46c22562
commit a68a38fa22

View File

@@ -18,7 +18,10 @@ cdef class Context:
self.context = cppContext.create()
def __dealloc__(self):
del self.context
pass
# Deleting the context will hang if sockets are still active
# TODO: Figure out a way to make sure the context is closed last
# del self.context
cdef class Poller: