mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #344] [MERGED] Quit app when the main window is closed #491
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#491
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/344
Author: @Insprill
Created: 10/8/2022
Status: ✅ Merged
Merged: 10/12/2022
Merged by: @jpochyla
Base:
master← Head:fix/249📝 Commits (1)
fde3b98Quit app when the main window is closed📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
psst-gui/src/delegate.rs(+3 -2)📄 Description
Ensures all child windows are closed and the app closes when the main window is closed. Fixes #249.
I currently call the
CLOSE_ALL_WINDOWSandQUIT_APPcommands because on Windows theQUIT_APPcommand takes a while to actually quit, and I'm not sure ifCLOSE_ALL_WINDOWSworks the same way on other platforms as it does Windows. Testing on other platforms to see if both are necessary would be appreciated!🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.