Skip to content

Commit fce9094

Browse files
committed
handle: Remove dead code
1 parent fc923f9 commit fce9094

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

uvloop/handles/handle.pyx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,6 @@ cdef void __uv_walk_close_all_handles_cb(uv.uv_handle_t* handle, void* arg) with
320320
})
321321
return
322322

323-
if handle.data is NULL:
324-
# And this shouldn't happen too.
325-
loop.call_exception_handler({
326-
'message': "handle.data is NULL yet it's not closing"
327-
})
328-
return
329-
330323
h = <UVHandle>handle.data
331324
if not h._closed:
332325
warnings_warn("unclosed resource {!r}".format(h), ResourceWarning)

0 commit comments

Comments
 (0)