Commit e03dc92
committed
common: fix early stop of panic
Add a join() to the thread, otherwise it happens that the main process
is already closed and the thread is still alive (because daemon = True).
This causes issues in tests, cause the returncode is 0 instead of -9, as
there was not enough time to execute the os.killpg before the main
thread ended.
Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>1 parent 67a29d0 commit e03dc92
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
0 commit comments