You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method doesn't reset self.transport to None after self.transport.close() call.
That means self.transport.close() will be called on next .closing() call again.
I see nothing wrong with it because asyncio transports correctly process double .close() calls but maybe adding line like self.transport = None make code a bit more accurate?
The text was updated successfully, but these errors were encountered:
The method doesn't reset
self.transport
toNone
afterself.transport.close()
call.That means
self.transport.close()
will be called on next.closing()
call again.I see nothing wrong with it because asyncio transports correctly process double
.close()
calls but maybe adding line likeself.transport = None
make code a bit more accurate?The text was updated successfully, but these errors were encountered: