Skip to content

Commit 395d706

Browse files
committed
raise self._reentrant_call_error
1 parent 5d6406c commit 395d706

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
@@ -104,7 +104,7 @@ def _stop_locked(
104104
# This shouldn't happen (it might when called by a finalizer)
105105
# so we check for it anyway.
106106
if self._lock._recursion_count() > 1:
107-
return self._reentrant_call_error()
107+
raise self._reentrant_call_error()
108108
if self._fd is None:
109109
# not running
110110
return

0 commit comments

Comments
 (0)