Implement clean shutdown #41
Labels
No labels
bug
chore
CI/CD
Code Cleanup
duplicate
DX
enhancement
help wanted
invalid
packaging
question
UI
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#38 refactor: Create application container
waycasthq/waycast
Reference
waycasthq/waycast#41
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?
With the addition of the application container in #38 which acts as a supervisor for the subsystems, we now have a chance to implement a clean shutdown signal that will cleanly stop all subprocesses before ending the main waycast process.
Further architecture changes might be needed before implementing this.
Idea
We should have a way to communicate a "shutdown" signal to all the threads the app container supervises to ensure a clean shutdown of the app without leaving any dirty state.