Commit 03598be
committed
refactor: tighten audit-pass leak fixes
- store.ts softDeleteDesign: skip Set clone + set() when id not in
autoPolishFired, so subscribers aren't notified on a no-op delete
- DesignCardPreview readCache: route hit path through memCacheTouch
instead of duplicating delete+set inline
- overlay.ts: drop the redundant if (__cs_reattach_interval) guard
before clearInterval — clearInterval is safe on undefined/0
Review follow-up to 6b8cfbc; runtime tests 15/15, desktop typecheck clean.1 parent 6b8cfbc commit 03598be
3 files changed
Lines changed: 11 additions & 17 deletions
File tree
- apps/desktop/src/renderer/src
- views/hub
- packages/runtime/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1679 | 1679 | | |
1680 | 1680 | | |
1681 | 1681 | | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
1685 | 1687 | | |
1686 | 1688 | | |
1687 | 1689 | | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 211 | + | |
215 | 212 | | |
216 | 213 | | |
217 | 214 | | |
218 | 215 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 216 | + | |
| 217 | + | |
225 | 218 | | |
226 | 219 | | |
227 | 220 | | |
| |||
0 commit comments