Commit bf004f1
Fix crash in LoadPacks RPC call (#2484)
## Fixes
<!-- List the issue(s) this PR resolves -->
- Open-CMSIS-Pack/vscode-cmsis-solution#250
## Changes
<!-- List the changes this PR introduces -->
- clear RTE model and cached list of loaded packs
Note: pack registry is not cleared, only new and modified packs get
loaded
## Checklist
<!-- Put an `x` in the boxes. All tasks must be completed and boxes
checked before merging. -->
- [ ] 🤖 This change is covered by unit tests (if applicable).
- [ ] 🤹 Manual testing has been performed (if necessary).
- [ ] 🛡️ Security impacts have been considered (if relevant).
- [ ] 📖 Documentation updates are complete (if required).
- [ ] 🧠 Third-party dependencies and TPIP updated (if required).
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent c51a8e9 commit bf004f1
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
| |||
6064 | 6065 | | |
6065 | 6066 | | |
6066 | 6067 | | |
6067 | | - | |
| 6068 | + | |
6068 | 6069 | | |
6069 | 6070 | | |
6070 | 6071 | | |
| |||
0 commit comments