1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-29 14:43:31 +00:00

check double initialization

This commit is contained in:
neuronull
2025-11-03 10:57:20 -07:00
parent a23999edcf
commit 8488b8a613

View File

@@ -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();
});