Commit 897a11a
committed
fix: resolve MCP server connection race condition in getTheme.ts
- Create local copy of vscode.extensions.all to avoid read-only property conflicts
- Add defensive null checking for extension and packageJSON
- Resolves race condition between MCP initialization and theme loading
- Reapplies fix from automatically closed PR #5592
Fixes #55911 parent a6e16e8 commit 897a11a
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | | - | |
45 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
0 commit comments