Closed hartytp closed 5 years ago
The disconnect_cb
s in the GUI were set to kill the app (unlike the locker, which implements auto reconnection). However, when I hook them up, they never seem to get called. I get a large number of errors like
WARNING:quamash.QEventLoop:Event callback failed: [WinError 64] The specified network name is no longer available
DEBUG:quamash.QEventLoop:Registering callback <bound method _ProactorReadPipeTransport._loop_reading of <_ProactorSocketTransport fd=1020 read=<_OverlappedFuture finished overlapped=<completed, 0x63b4790> exception=ConnectionResetError(22, 'The specified network name is no longer available', None, 64, None)>>> to be invoked with arguments (<_OverlappedFuture finished overlapped=<completed, 0x63b4790> exception=ConnectionResetError(22, 'The specified network name is no longeravailable', None, 64, None)>,) after 0 second(s)
DEBUG:quamash.QEventLoop:Adding callback <Handle _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>)> with delay 0
DEBUG:quamash.QEventLoop:Invoking event callback <function IocpProactor.recv.<locals>.finish_recv at 0x00000000063B92F0>
When the server dies, the gui quits with the message