Commit e5394e0
committed
fix: set desktopState.backendReady to true in onReady callback
The onReady callback updated the internal manager state's ready field
but never set desktopState.backendReady to true. The ref was only ever
set to false (on start, finalize, and stop), so any consumer reading
desktopState.backendReady would always see false even after the backend
was confirmed ready via HTTP.
Also removed the manual workaround in the test that set backendReady
to true externally.1 parent 413d2f9 commit e5394e0
2 files changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
| |||
0 commit comments