Skip to content

Commit

Permalink
Ensure worker window is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
lrasmus committed Mar 6, 2025
1 parent b51420a commit 17f72ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/main.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ const createWindow = async () => {

mainWindow.on('closed', () => {
mainWindow = null;
if (workerWindow != null) {
workerWindow.close();
}
});

logWatcherService = new LogWatcherService(mainWindow);
Expand Down

0 comments on commit 17f72ff

Please sign in to comment.