Commit 633a0120 authored by Andreas Schmidt's avatar Andreas Schmidt

PrrtSocket in Cython now uses __dealloc__.

parent 85da024c
Pipeline #942 passed with stages
in 43 seconds
......@@ -99,5 +99,6 @@ cdef class PrrtSocket:
def send(self, data):
cprrt.PrrtSocket_send(self._c_socket, data, len(data))
def close(self):
def __dealloc__(self):
if self._c_socket != NULL:
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