Skip to content

Save app config on exit to persist changes made shortly before closing#66

Open
mmotorny wants to merge 1 commit intoavsaase:masterfrom
mmotorny:fix/app-config-persistence-on-exit
Open

Save app config on exit to persist changes made shortly before closing#66
mmotorny wants to merge 1 commit intoavsaase:masterfrom
mmotorny:fix/app-config-persistence-on-exit

Conversation

@mmotorny
Copy link
Contributor

@mmotorny mmotorny commented Mar 1, 2026

Config was only saved after a 2-second debounce. Changes made right before exiting (for example, toggling SRT options) were lost. Implement on_exit() to save config unconditionally when the app shuts down.

Made-with: Cursor

@mmotorny
Copy link
Contributor Author

mmotorny commented Mar 1, 2026

CI is broken by unrelated linter errors. I sent another PR to fix them first: #67

@mmotorny
Copy link
Contributor Author

mmotorny commented Mar 2, 2026

Now that #67 has been merged, please re-run checks and accept this PR.

@avsaase
Copy link
Owner

avsaase commented Mar 2, 2026

You first need to rebase this on master. Also, note that I'm a human, so please don't talk to me like I'm your LLM.

Config was only saved after a 2-second debounce. Changes made right before
exiting (e.g. toggling GBat or other SRT options) were lost. Implement
on_exit() to save config unconditionally when the app shuts down.

Made-with: Cursor
@mmotorny mmotorny force-pushed the fix/app-config-persistence-on-exit branch from 7f5eb39 to 16bff22 Compare March 2, 2026 05:56
@mmotorny
Copy link
Contributor Author

mmotorny commented Mar 2, 2026

I apologize, Alexander, it wasn't my intention to sound rude! Thank you for taking time to review my PRs.

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.

2 participants