mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Don't remove the getLang handler
This commit is contained in:
parent
ef73af66c4
commit
e86b1a8924
1 changed files with 0 additions and 1 deletions
|
@ -38,7 +38,6 @@ export function createSettingsWindow() {
|
||||||
settingsWindow.loadURL(`file://${__dirname}/settings.html`);
|
settingsWindow.loadURL(`file://${__dirname}/settings.html`);
|
||||||
settingsWindow.on("close", (event: Event) => {
|
settingsWindow.on("close", (event: Event) => {
|
||||||
ipcMain.removeHandler("getSetting");
|
ipcMain.removeHandler("getSetting");
|
||||||
ipcMain.removeHandler("getLang");
|
|
||||||
ipcMain.removeAllListeners("saveSettings");
|
ipcMain.removeAllListeners("saveSettings");
|
||||||
instance = 0;
|
instance = 0;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue