mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-24 15:52:32 -04:00
Ignore SIGINT in safe_atexit worker
This commit is contained in:
@@ -93,6 +93,9 @@ else:
|
||||
|
||||
|
||||
def main():
|
||||
if not iswindows:
|
||||
import signal
|
||||
signal.signal(signal.SIGINT, signal.SIG_IGN)
|
||||
ac_map = {RMTREE_ACTION: remove_dir, UNLINK_ACTION: unlink}
|
||||
for line in sys.stdin.buffer:
|
||||
if line:
|
||||
|
||||
Reference in New Issue
Block a user