Don't remove the getLang handler

This commit is contained in:
smartfrigde 2022-06-14 14:55:47 +02:00
parent ef73af66c4
commit e86b1a8924

View file

@ -38,7 +38,6 @@ export function createSettingsWindow() {
settingsWindow.loadURL(`file://${__dirname}/settings.html`);
settingsWindow.on("close", (event: Event) => {
ipcMain.removeHandler("getSetting");
ipcMain.removeHandler("getLang");
ipcMain.removeAllListeners("saveSettings");
instance = 0;
});