Skip to content

Commit

Permalink
wait on the bg thread, like we do the other threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Moffat committed Dec 1, 2016
1 parent d1a115b commit 4d6594b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2107,6 +2107,8 @@ def wait(self):
self._output_thread.join()
timer.cancel()

self._background_thread.join()

if witnessed_end:
self._process_just_ended()

Expand Down

0 comments on commit 4d6594b

Please sign in to comment.