Commit 4c01004
committed
Ensure thread_pool.join runs even when an exception is raised
Move thread_pool.join and job stats reporting into an ensure block
so that all threads are properly joined before rake exits, even when
a task raises an exception. Previously, an exception in a multitask
prerequisite could cause rake to exit while subprocesses were still
running.
Fixes #4141 parent dbeb18c commit 4c01004
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments