Commit a334702
committed
fix(tauri): serialize startup navigation
Let the native CLI manager exclusively navigate the loading window once the managed server is ready. This prevents the loading renderer from racing the native client-state navigation and replacing a document after its access token has been rotated.
Error and status reporting remain in the loading renderer, while native navigation continues to preserve authentication redirects. Validated with UI typecheck/build and packaged-resource smoke checks.1 parent 5d522d4 commit a334702
1 file changed
Lines changed: 3 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 38 | | |
45 | 39 | | |
46 | 40 | | |
| |||
63 | 57 | | |
64 | 58 | | |
65 | 59 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 60 | + | |
72 | 61 | | |
73 | 62 | | |
74 | 63 | | |
| |||
88 | 77 | | |
89 | 78 | | |
90 | 79 | | |
91 | | - | |
| 80 | + | |
92 | 81 | | |
93 | 82 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 83 | + | |
97 | 84 | | |
98 | 85 | | |
99 | 86 | | |
| |||
0 commit comments