fixed sigint for python3

pull/39/head
Ciro 2022-11-29 09:23:00 -03:00
rodzic ca8dff0513
commit 75ee277171
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -76,7 +76,6 @@ def socketify_generic_handler(data):
(handler, user_data) = ffi.from_handle(data) (handler, user_data) = ffi.from_handle(data)
handler(user_data) handler(user_data)
class UVCheck: class UVCheck:
def __init__(self, loop, handler, user_data): def __init__(self, loop, handler, user_data):
self._handler_data = ffi.new_handle((handler, user_data)) self._handler_data = ffi.new_handle((handler, user_data))
@ -108,7 +107,6 @@ class UVTimer:
def stop(self): def stop(self):
lib.socketify_timer_destroy(self._ptr) lib.socketify_timer_destroy(self._ptr)
self._handler_data = None
self._ptr = ffi.NULL self._ptr = ffi.NULL
def set_repeat(self, repeat): def set_repeat(self, repeat):