handle: Ensure self._handle is set to NULL in _abort_init()

This commit is contained in:
Yury Selivanov 2016-07-12 10:59:38 -04:00
parent 575f71bdbe
commit 2b060e170f
1 changed files with 2 additions and 0 deletions

View File

@ -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: