2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

artiq_devtool: don't loop forever if core device dies.

This commit is contained in:
whitequark 2017-06-25 04:18:45 +00:00
parent f17a6616b2
commit 1fa8be3835

View File

@ -176,6 +176,7 @@ def main():
local_stream.send(data)
except Exception as e:
logger.exception("Forward error on port %s", port)
break
local_stream.close()
remote_stream.close()