From ac3ad93eedc3ebabcee6e1e9ebb147a549d0d114 Mon Sep 17 00:00:00 2001 From: dinglili Date: Fri, 30 Aug 2024 09:21:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=A7=BB=E9=99=A4finish?= =?UTF-8?q?=E7=9B=91=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vs/platform/issue/electron-main/deployMainService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/platform/issue/electron-main/deployMainService.ts b/src/vs/platform/issue/electron-main/deployMainService.ts index a1bcbe4c..827efa2d 100644 --- a/src/vs/platform/issue/electron-main/deployMainService.ts +++ b/src/vs/platform/issue/electron-main/deployMainService.ts @@ -1027,7 +1027,7 @@ export class DeployMainService implements IDeployMainService { validatedIpcMain.removeListener('kylinide.installWizard.init', this.listenerWriteSelectJson); validatedIpcMain.removeListener('kylinide.installWizard.reloadwindow', this.listenerReloadWindow); validatedIpcMain.removeListener('kylinide.installWizard.downloadExt', this.handleDownExten); - validatedIpcMain.on('kylinide.installWizard.finish', this.listenerFinish); + validatedIpcMain.removeListener('kylinide.installWizard.finish', this.listenerFinish); } private registerListeners(): void { this.logger.info("注册监听器");