debugToolbar: Fix 'The operand of a 'delete' operator must be optional'

#96022
This commit is contained in:
isidor 2020-04-24 09:42:26 +02:00
parent e4b35bb6d7
commit 9448f6e5ed

View file

@ -271,7 +271,6 @@ export class DebugToolBar extends Themable implements IWorkbenchContribution {
if (this.$el) {
this.$el.remove();
delete this.$el;
}
if (this.disposeOnUpdate) {
dispose(this.disposeOnUpdate);