Skip to content

Commit 7e78554

Browse files
committed
For frenzy Ctrl-C pressing
1 parent 78a5125 commit 7e78554

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/core/option.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,6 +1039,8 @@ def _():
10391039
socket._ready[key].append(s._sock)
10401040
except socket.error:
10411041
pass
1042+
except KeyboardInterrupt:
1043+
break
10421044
finally:
10431045
time.sleep(0.01)
10441046

0 commit comments

Comments
 (0)