mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:57:23 +02:00
...
This commit is contained in:
parent
3318387ddb
commit
7b6416ac65
1 changed files with 2 additions and 1 deletions
|
|
@ -107,7 +107,8 @@ def __init__(self, *args, **kwargs):
|
|||
Listener.__init__(self, *args, **kwargs)
|
||||
# multiprocessing tries to call unlink even on abstract
|
||||
# named sockets, prevent it from doing so.
|
||||
self._listener._unlink.cancel()
|
||||
if self._listener._unlink is not None:
|
||||
self._listener._unlink.cancel()
|
||||
# Prevent child processes from inheriting this socket
|
||||
# If we dont do this child processes not created by calibre, will
|
||||
# inherit this socket, preventing the calibre GUI from being restarted.
|
||||
|
|
|
|||
Loading…
Reference in a new issue