ELECTRON-591 - Add logic to close up child windows whenever parent window is navigated or reloaded (#446)

This commit is contained in:
Kiran Niranjan
2018-08-01 14:51:29 +05:30
committed by Vishwas Shashidhar
parent f893b5658c
commit 75d2e06673
5 changed files with 147 additions and 4 deletions

View File

@@ -67,6 +67,8 @@ function sanitize(windowName) {
if (!isMac) {
eventEmitter.emit('killScreenSnippet');
}
// Closes all the child windows
windowMgr.cleanUpChildWindows();
}
}