Skip to content

Commit e7166bf

Browse files
committed
Oooof ... fix this finally (save it into a variable that doesn't get unset). Close #294.
1 parent 3cf7c20 commit e7166bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pytest_cov/embed.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ def cleanup():
9797
_active_cov = None
9898
_cleanup_in_progress = False
9999
if _pending_signal:
100+
pending_singal = _pending_signal
100101
_pending_signal = None
101-
_signal_cleanup_handler(*_pending_signal)
102+
_signal_cleanup_handler(*pending_singal)
102103

103104

104105
multiprocessing_finish = cleanup # in case someone dared to use this internal

0 commit comments

Comments
 (0)