diff --git a/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts b/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts index c26e24de6c8..3459ccd7fa6 100644 --- a/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts +++ b/apps/desktop/src/autofill/main/main-desktop-autotype.service.ts @@ -21,6 +21,11 @@ export class MainDesktopAutotypeService { } init() { + if (this.isInitialized) { + this.logService.warning("MainDesktopAutotypeService already initialized."); + return; + } + ipcMain.handle(AUTOTYPE_IPC_CHANNELS.INIT, () => { this.init(); });