From c0ef478e20bdff196650335d7657cddab3553b9d Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 11 Dec 2020 11:28:19 -0500 Subject: [PATCH] fix removeExtensionHandlers Signed-off-by: Sebastian Malton --- src/main/protocol-handler/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/protocol-handler/router.ts b/src/main/protocol-handler/router.ts index 9d1d313011..72a2f56135 100644 --- a/src/main/protocol-handler/router.ts +++ b/src/main/protocol-handler/router.ts @@ -202,7 +202,7 @@ export class LensProtocolRouter extends Singleton { } public removeExtensionHandlers(id: ExtensionId): void { - this.extentionRoutes.get(id)?.clear(); + this.extentionRoutes.delete(id); } /**