mirror of
https://github.com/commaai/msgq.git
synced 2026-06-11 23:44:58 +08:00
Don't delete context from python side only
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user