This commit is contained in:
Kovid Goyal 2020-05-02 09:02:40 +05:30
parent 3318387ddb
commit 7b6416ac65
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -107,6 +107,7 @@ if islinux:
Listener.__init__(self, *args, **kwargs)
# multiprocessing tries to call unlink even on abstract
# named sockets, prevent it from doing so.
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