Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Disable logging when cleanup _event_dict, otherwise it may cause "I…
Browse files Browse the repository at this point in the history
…/O operation on closed file" error
  • Loading branch information
calio committed Jun 8, 2020
1 parent 77b2863 commit 195b0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiber/popen_fiber_spawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def __del__(self):
if getattr(self, "ident", None):
# clean up entry in event_dict
global _event_dict
logger.debug("cleanup entry _event_dict[%s]", self.ident)
#logger.debug("cleanup entry _event_dict[%s]", self.ident)
_event_dict.pop(self.ident, None)

def __repr__(self):
Expand Down

0 comments on commit 195b0d0

Please sign in to comment.