Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion py/_process/forkedfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _removetemp(self):
self.tempdir.remove()

def __del__(self):
if self.pid is not None: # only clean up in main process
if not (hasattr(self, "pid") and self.pid is None): # only clean up in main process
Comment thread
DWesl marked this conversation as resolved.
Outdated
self._removetemp()


Expand Down