From cca25f70ffff56807b43a421dcbfa28859f2a639 Mon Sep 17 00:00:00 2001 From: Florian Jetter Date: Mon, 13 Mar 2023 21:54:31 +0100 Subject: [PATCH] Remove weakref finalizer for Offload Executor (#7644) --- distributed/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/distributed/utils.py b/distributed/utils.py index 7a40181daf1..79f9515d41a 100644 --- a/distributed/utils.py +++ b/distributed/utils.py @@ -1397,7 +1397,6 @@ def is_valid_xml(text): _offload_executor = ThreadPoolExecutor(max_workers=1, thread_name_prefix="Dask-Offload") -weakref.finalize(_offload_executor, _offload_executor.shutdown) def import_term(name: str) -> AnyType: