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
call syscreq instead of asyncrequest from BaseNetref.__del__
classBaseNetref(object, metaclass=NetrefMetaclass):
def__del__(self):
try:
# syncrequest here???asyncreq(self, consts.HANDLE_DEL, self.____refcount__)
exceptException:
# raised in a destructor, most likely on program termination,# when the connection might have already been closed.# it's safe to ignore all exceptions herepass
Deleting a list of netrefs unexpectedly closes the connection.
net.core.wmem_default
, socket write failssock.send throws an exception (TimeoutError), connection is closed:
Suggestions/ Workarounds /Questions
BaseNetref.__del__
Environment
Minimal example
Server:
Client:
Output (Server):
Output (Client):
The text was updated successfully, but these errors were encountered: