diff options
author | Zader Zheng <[email protected]> | 2015-04-17 23:09:17 +0800 |
---|---|---|
committer | Zader Zheng <[email protected]> | 2015-04-17 23:09:17 +0800 |
commit | 089bb1ff9522bab4a8b1bede764e0605cb7a4203 (patch) | |
tree | 4f83ab0d257a636ae155186425023f48afa12ee4 | |
parent | f940101ae940604b56da1e3c263736a93adc3d3d (diff) |
kill a AF_UNIX left behind
-rw-r--r-- | lab_monitor_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lab_monitor_server.py b/lab_monitor_server.py index 6a11da6..4f1439b 100644 --- a/lab_monitor_server.py +++ b/lab_monitor_server.py @@ -137,7 +137,7 @@ def cmd_shutdown(): global is_exiting, cmd_socket, local_socket_address, cmd is_exiting.set(); cmd_socket.close() - socket(AF_UNIX).connect(local_socket_address) + socket(AF_INET).connect(local_socket_address) cmd.join() class AJAXHandler(RequestHandler): |