Commit 7d10f27
committed
Do not free globals when threads are enabled
When threads are enabled, it's possible that other threads are still
running while neko is shutting down. This means freeing builtins or the
thread local storage slot for the vm context may cause a crash on those
threads.1 parent 2e6bd32 commit 7d10f27
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
343 | 348 | | |
| 349 | + | |
344 | 350 | | |
345 | 351 | | |
346 | 352 | | |
| |||
0 commit comments