Skip to content

Commit

Permalink
handle: Ensure self._handle is set to NULL in _abort_init()
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Jul 12, 2016
1 parent 575f71b commit 2b060e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uvloop/handles/handle.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ cdef class UVHandle:
self._handle = NULL

cdef inline _abort_init(self):
self._handle = NULL

IF DEBUG:
name = self.__class__.__name__
if self._inited:
Expand Down

0 comments on commit 2b060e1

Please sign in to comment.