forked from microsoft/vscode
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lifecycle for code actions that are updated while the code action…
… menu is already showing Fixes microsoft#76851 In the following case 1. Code action list is shown 1. We then update the code actions in the background (possibly because extensions took a little while to compute them) 1. The user accepts a code action At step 2, we release the previous code action list which causes all of its actions to be gabage collected **Fix** Move lifecycle management of the code actions into the two consumers. Will look into make the code safer with a follow up fix
- Loading branch information
Showing
3 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters