Skip to content

Commit 2b060e1

Browse files
committed
handle: Ensure self._handle is set to NULL in _abort_init()
1 parent 575f71b commit 2b060e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uvloop/handles/handle.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ cdef class UVHandle:
6363
self._handle = NULL
6464

6565
cdef inline _abort_init(self):
66+
self._handle = NULL
67+
6668
IF DEBUG:
6769
name = self.__class__.__name__
6870
if self._inited:

0 commit comments

Comments
 (0)