You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LandinMartensIQ
changed the title
IpcMain.RemoveAllListeners(string) not working
IpcMain.RemoveAllListeners(string) is not removing the listeners
Jan 29, 2020
I tested it with the current version and there were no problems. Possibly. your code will not be executed with RemoveAllListeners or it is due to the new Electron 8 version. Our latest update in version 8.31.1 will be released in the next few days.
I have the same problem, I have electron and React and when you are using the app for a log time it becomes slow because the number of imports using ipc renderer. I tried to remove al listeners but it continues sending requests.
In the C# lib,
IpcMain.RemoveAllListeners(string)
is not removing the listeners. After executing this function, my event listeners are still firing.Steps to Reproduce:
IpcMain.On(channel_name)
The text was updated successfully, but these errors were encountered: