Commit 94842f0
committed
Don't hold the runtime lock while we're importing modules in SerializationContext.
It can cause all kinds of deadlocks, since import operations execute arbitrary
code, which can lock things and then attempt to compile. This can lead to deadlocks.1 parent 321dcf4 commit 94842f0
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
402 | 405 | | |
403 | 406 | | |
404 | 407 | | |
| |||
425 | 428 | | |
426 | 429 | | |
427 | 430 | | |
428 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
429 | 435 | | |
430 | 436 | | |
431 | 437 | | |
| |||
0 commit comments