From 74496c8a248245c4a290daf19211fcbc2cf60ec8 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 11 Jun 2019 08:55:32 -0700 Subject: [PATCH] Fix monaco build error --- src/vs/editor/common/services/markerDecorationsServiceImpl.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/vs/editor/common/services/markerDecorationsServiceImpl.ts b/src/vs/editor/common/services/markerDecorationsServiceImpl.ts index faaf1305a04..a319e8004b6 100644 --- a/src/vs/editor/common/services/markerDecorationsServiceImpl.ts +++ b/src/vs/editor/common/services/markerDecorationsServiceImpl.ts @@ -81,9 +81,7 @@ export class MarkerDecorationsService extends Disposable implements IMarkerDecor dispose() { super.dispose(); - for (const [, decorations] of this._markerDecorations) { - decorations.dispose(); - } + this._markerDecorations.forEach(value => value.dispose()); this._markerDecorations.clear(); } -- GitLab