Skip to content

Commit

Permalink
Oooof ... fix this finally (save it into a variable that doesn't get …
Browse files Browse the repository at this point in the history
…unset). Close #294.
  • Loading branch information
ionelmc committed Sep 19, 2019
1 parent 3cf7c20 commit e7166bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pytest_cov/embed.py
Expand Up @@ -97,8 +97,9 @@ def cleanup():
_active_cov = None
_cleanup_in_progress = False
if _pending_signal:
pending_singal = _pending_signal
_pending_signal = None
_signal_cleanup_handler(*_pending_signal)
_signal_cleanup_handler(*pending_singal)


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

0 comments on commit e7166bf

Please sign in to comment.