Skip to content

Commit 15e73a9

Browse files
graingertgpshead
andauthored
Update Lib/multiprocessing/resource_tracker.py
Co-authored-by: Gregory P. Smith <[email protected]>
1 parent ce82968 commit 15e73a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/resource_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def _ensure_running_and_write(self, msg=None):
197197
if self._lock._recursion_count() > 1:
198198
# The code below is certainly not reentrant-safe, so bail out
199199
if msg is None:
200-
return self._reentrant_call_error()
200+
raise self._reentrant_call_error()
201201
return self._reentrant_messages.append(msg)
202202

203203
if self._fd is not None:

0 commit comments

Comments
 (0)