File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -453,13 +453,8 @@ cdef class SSLProtocol:
453
453
self ._set_state(DO_HANDSHAKE)
454
454
455
455
# start handshake timeout count down
456
- # XXX: This is a workaround to call cdef method and clear reference to
457
- # self when the handle is cancelled (because uvloop currently clears
458
- # only args, it'll be okay to remove the lambda x: x() after the fix to
459
- # clear also the callback)
460
456
self ._handshake_timeout_handle = \
461
457
self ._loop.call_later(self ._ssl_handshake_timeout,
462
- lambda x : x(),
463
458
lambda : self ._check_handshake_timeout())
464
459
465
460
try :
@@ -538,13 +533,8 @@ cdef class SSLProtocol:
538
533
self ._abort(None )
539
534
else :
540
535
self ._set_state(FLUSHING)
541
- # XXX: This is a workaround to call cdef method and clear reference
542
- # to self when the handle is cancelled (because uvloop currently
543
- # clears only args, it'll be okay to remove the lambda x: x() after
544
- # the fix to clear also the callback)
545
536
self ._shutdown_timeout_handle = \
546
537
self ._loop.call_later(self ._ssl_shutdown_timeout,
547
- lambda x : x(),
548
538
lambda : self ._check_shutdown_timeout())
549
539
self ._do_flush()
550
540
You can’t perform that action at this time.
0 commit comments