Skip to content

Commit 7557f67

Browse files
committed
Fix cleanup leaving unusable state.
1 parent fdc43ec commit 7557f67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pytest_cov/embed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def cleanup():
9595
_cleanup_in_progress = True
9696
_cleanup(_active_cov)
9797
_active_cov = None
98+
_cleanup_in_progress = False
9899
if _pending_signal:
99100
_signal_cleanup_handler(*_pending_signal)
100101
_pending_signal = None

0 commit comments

Comments
 (0)