1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Catch connection reset in ioucon

This commit is contained in:
Julien Duponchelle 2016-06-13 16:28:26 +02:00
parent 313226786f
commit e183e7da27
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -550,6 +550,8 @@ def send_recv_loop(epoll, console, router, esc_char, stop_event):
esc_state = True
else:
router.write(buf)
except ConnectionError as e:
pass
finally:
router.unregister(epoll)
console.unregister(epoll)