Commit 342dacc
committed
Fix threadPlanCatalogCache leak and restore snapshot sync before implementation thread navigation
- Prune stale entries from threadPlanCatalogCache when threads are removed
from the store, preventing unbounded growth of the module-level Map.
- Re-add snapshot sync (getSnapshot + syncServerReadModel) before navigating
to a newly created implementation thread, ensuring the thread exists in
the store before ChatView renders. Also restore the snapshot sync in the
error cleanup path.1 parent a7dc0c9 commit 342dacc
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
497 | 505 | | |
498 | 506 | | |
499 | 507 | | |
| |||
3158 | 3166 | | |
3159 | 3167 | | |
3160 | 3168 | | |
3161 | | - | |
| 3169 | + | |
| 3170 | + | |
| 3171 | + | |
3162 | 3172 | | |
3163 | 3173 | | |
3164 | 3174 | | |
| |||
3174 | 3184 | | |
3175 | 3185 | | |
3176 | 3186 | | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
3177 | 3193 | | |
3178 | 3194 | | |
3179 | 3195 | | |
| |||
0 commit comments