Skip to content

Commit

Permalink
Fix for issue #24, cleanup of recurse_register was too aggressive
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny-rentner committed Oct 12, 2023
1 parent 7f99bb9 commit 54f8ccc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions UltraDict.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 54f8ccc

Please sign in to comment.