Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.0, chore, ui] close processes when window closes #584

Closed
wants to merge 5 commits into from

Conversation

michaelneale
Copy link
Collaborator

cc @Kvadratni @baxen cleaning things up a but with GUI processes

Copy link

Desktop App for this PR

The following build is available for testing:

The app is signed and notarized for macOS. After downloading, unzip the file and drag the Goose.app to your Applications folder.

This link is provided by nightly.link and will work even if you're not logged into GitHub.

Comment on lines 191 to 201
mainWindow.on('closed', () => {
windowMap.delete(windowId);
});

mainWindow.on('closed', () => {
if (goosedProcess) {
goosedProcess?.kill();
}
});

};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why can't this be t same block?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably as I was tired abnd missed it!

@@ -207,7 +213,6 @@ const createTray = () => {
const tray = new Tray(iconPath);

const contextMenu = Menu.buildFromTemplate([
{ label: 'Show Window', click: showWindow },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we dropping this option. Wouldn't the remaining context menu just have a separator and then the Quit item?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah - but I don't think it did anything? (it was a relic from wing to wing I think?) - but could check that out again

Copy link

Desktop App for this PR

The following build is available for testing:

The app is signed and notarized for macOS. After downloading, unzip the file and drag the Goose.app to your Applications folder.

This link is provided by nightly.link and will work even if you're not logged into GitHub.

Copy link

Desktop App for this PR

The following build is available for testing:

The app is signed and notarized for macOS. After downloading, unzip the file and drag the Goose.app to your Applications folder.

This link is provided by nightly.link and will work even if you're not logged into GitHub.

@michaelneale
Copy link
Collaborator Author

done in another PR

@michaelneale michaelneale deleted the micn/process-cleanup branch January 16, 2025 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants