Skip to content

Commit

Permalink
Don't delete context from python side only
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Nov 4, 2019
1 parent bd46c22 commit a68a38f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion messaging/messaging_pyx.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a68a38f

Please sign in to comment.