mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-870 - Revert back to old memory refresh logic
This commit is contained in:
committed by
José Alves Durand Neto
parent
4737a9135f
commit
2871cb5c90
@@ -214,12 +214,6 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
|
||||
// event sent to renderer process to remove snack bar
|
||||
mainWindow.webContents.send('window-leave-full-screen');
|
||||
});
|
||||
mainWindow.on('minimize', () => {
|
||||
eventEmitter.emit('appMinimized');
|
||||
});
|
||||
mainWindow.on('restore', () => {
|
||||
eventEmitter.emit('appRestored');
|
||||
});
|
||||
|
||||
if (initialBounds) {
|
||||
// maximizes the application if previously maximized
|
||||
|
||||
Reference in New Issue
Block a user