Commit 2db41c0
committed
BeforeUncompiledHook: Ensure that all preemptive threads are stopped
When you do
killdataFolder root:packages
and then uncompile/recompile the code you get the message
Function module in use by preemptive threads. Kill the thread?
The reason is that ASYNC_Stop does not stop the async threads as it's tgID
is gone. The only thing we can do is stopping/killing all threads before
the IP popup tells us.1 parent 11c9470 commit 2db41c0
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
297 | 299 | | |
298 | 300 | | |
299 | 301 | | |
| |||
308 | 310 | | |
309 | 311 | | |
310 | 312 | | |
311 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
312 | 318 | | |
313 | 319 | | |
314 | 320 | | |
| |||
0 commit comments