mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
03ea489695
commit
9a1e55153b
@ -208,7 +208,9 @@ class RenderManager(QObject):
|
|||||||
self.opts = opts
|
self.opts = opts
|
||||||
self.workers = []
|
self.workers = []
|
||||||
self.max_workers = detect_ncpus()
|
self.max_workers = detect_ncpus()
|
||||||
if not iswindows:
|
if iswindows:
|
||||||
|
self.original_signal_handlers = {}
|
||||||
|
else:
|
||||||
self.original_signal_handlers = setup_unix_signals(self)
|
self.original_signal_handlers = setup_unix_signals(self)
|
||||||
|
|
||||||
def create_worker(self):
|
def create_worker(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user