Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dev-tools only set monaco model and text when changing (google#2417
) Context: - mit-cml/workspace-multiselect#62 (comment) - mit-cml/workspace-multiselect#62 (comment) - mit-cml/workspace-multiselect#62 (comment) In multi-select plugin, a significant amount of workspace change events (for each block) can be triggered at the same time, which causes the garbage collection mechanism to fail, so that we eventually have JS heap overflow and the page crashed in Chromium. This commit introduces a workaround for this, so that we only update the page when we have model or text updates in monaco. Signed-off-by: Hollow Man <hollowman@opensuse.org>
- Loading branch information