mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 11:10:48 +00:00
debt - ensure to dispose action toolbar of editor group view
This commit is contained in:
parent
ce94c833bf
commit
29dadcc476
1 changed files with 2 additions and 2 deletions
|
@ -276,13 +276,13 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
|
|||
|
||||
// Toolbar
|
||||
const groupId = this._group.id;
|
||||
const containerToolbar = new ActionBar(toolbarContainer, {
|
||||
const containerToolbar = this._register(new ActionBar(toolbarContainer, {
|
||||
ariaLabel: localize('araLabelGroupActions', "Editor group actions"), actionRunner: this._register(new class extends ActionRunner {
|
||||
run(action: IAction) {
|
||||
return action.run(groupId);
|
||||
}
|
||||
})
|
||||
});
|
||||
}));
|
||||
|
||||
// Toolbar actions
|
||||
const removeGroupAction = this._register(new Action(
|
||||
|
|
Loading…
Reference in a new issue