mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
debt - ensure to dispose action toolbar of editor group view
This commit is contained in:
parent
ce94c833bf
commit
29dadcc476
|
@ -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