Commit 3712ae6
feat: close preview panels and fix homescreen refresh on env switch
- resetAllPreviewPanels now disposes panels via the openPanels Map
- HomescreenViewProvider clears _webviewView on dispose so refresh()
no-ops safely instead of throwing "Webview is disposed" and halting
the onDidChangeEnvironment callback
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f06ba00 commit 3712ae6
2 files changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 126 | + | |
| 127 | + | |
136 | 128 | | |
137 | 129 | | |
138 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
0 commit comments