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 e6395dc commit 129346dCopy full SHA for 129346d
src/main.py
@@ -106,7 +106,7 @@ def _patched_pipe_del(self):
106
def _patched_subprocess_del(self):
107
try:
108
# Check if the event loop is closed or finalizing
109
- if hasattr(self, '_loop') and (self._loop.is_closed() or sys.is_finalizing()):
+ if hasattr(self, '_loop') and self._loop is not None and (self._loop.is_closed() or sys.is_finalizing()):
110
# Skip the original __del__ which would trigger the error
111
return
112
0 commit comments