This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Commit a5436cc
authored
lazily look up state in stream/future event loop (#88)
This fixes a (deterministic) race condition where a
`{Stream|Future}{Writer|Reader}` is dropped before the corresponding
`start_event_loop` background task has had a chance to run.
Fixes #81
Signed-off-by: Joel Dice <joel.dice@fermyon.com>1 parent 88dd50b commit a5436cc
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
| 1384 | + | |
| 1385 | + | |
1385 | 1386 | | |
1386 | 1387 | | |
1387 | 1388 | | |
| |||
1391 | 1392 | | |
1392 | 1393 | | |
1393 | 1394 | | |
1394 | | - | |
| 1395 | + | |
1395 | 1396 | | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
1396 | 1401 | | |
1397 | 1402 | | |
1398 | 1403 | | |
| |||
0 commit comments