Commit 081380f
committed
fix: resolve MCP server connection race condition (#5591)
- Fix 'Cannot assign to read only property all' error during extension startup
- Create local copy of vscode.extensions.all to avoid read-only property conflicts
- Add defensive null checking for better error handling
- Resolves race condition between MCP initialization and theme loading
Fixes #55911 parent f7b8345 commit 081380f
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