Commit 95899698 authored by Tasso Evangelista's avatar Tasso Evangelista

Remove menu events listeners before reload app

parent b65ae5c2
......@@ -60,6 +60,7 @@ export default () => {
mainWindow.destroyTray();
}
mainWindow.removeAllListeners();
menus.removeAllListeners();
mainWindow.reload();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment