mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:03:39 +00:00
Lifecycle: keep startup and shutdown responsive #959
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#959
Loading…
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?
Parent: #917.
Startup and shutdown can stop GUI event processing while waiting for backend work. The affected paths include configuration reads, settings migration and persistence,
baseInitialize, backend interruption, wallet unloading, validation-notification draining and worker cleanup. Configured shutdown commands can also delay exit. See startup and shutdown.Run blocking work outside the GUI thread. Show progress or errors while it is pending. Shutdown control must remain usable when initialization or an ordinary command is blocked. Stop new requests, prevent pending settings changes from restarting stopped services, and keep backend objects alive until their users finish. Report completion only after cleanup is complete.
Define clear ownership and shutdown ordering across feature workers. An asynchronous control path independent of ordinary requests is one option. Final object destruction must not introduce an unexpected GUI wait.
Test slow initialization, pending wallet/settings work, failed startup, repeated shutdown requests and late results. Cover window close, SIGINT and RPC stop. Verify GUI progress, backend lifetime, exit status and stderr. Coordinate wallet close with #577 and console behavior with #920.