From 54f8ccc85ac42628c5f1223d2f5ad3a4cc8d6dc8 Mon Sep 17 00:00:00 2001 From: Ronny Rentner Date: Thu, 12 Oct 2023 08:49:56 +0200 Subject: [PATCH] Fix for issue #24, cleanup of recurse_register was too aggressive --- UltraDict.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UltraDict.py b/UltraDict.py index 5e000a4..691aa31 100644 --- a/UltraDict.py +++ b/UltraDict.py @@ -505,10 +505,10 @@ def finalize(weak_self, name): def __del__(self): #log.debug("__del__", self.name) self.close() - if hasattr(self, 'recurse') and self.recurse: - #log.debug("Close recurse register") - self.recurse_register.close() - del self.recurse_register + #if hasattr(self, 'recurse') and self.recurse: + # #log.debug("Close recurse register") + # self.recurse_register.close() + # del self.recurse_register def init_remotes(self):