We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcdd92e commit 328c06eCopy full SHA for 328c06e
pebble/pool/process.py
@@ -490,6 +490,7 @@ def process_chunk(function: Callable, chunk: list) -> list:
490
return [process_execute(function, *args) for args in chunk]
491
492
493
+@atexit.register
494
def interpreter_shutdown():
495
global GLOBAL_SHUTDOWN
496
GLOBAL_SHUTDOWN = True
@@ -510,9 +511,6 @@ def dictionary_values(dictionary: dict) -> tuple:
510
511
pass
512
513
-atexit.register(interpreter_shutdown)
514
-
515
516
GLOBAL_SHUTDOWN = False
517
WORKERS_NAME = 'pebble_pool_worker'
518
PICKLING_ERRORS = AttributeError, pickle.PicklingError, TypeError
0 commit comments