Implement clean shutdown #41

Open
opened 2026-07-05 04:35:10 +00:00 by javif89 · 0 comments
Owner

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.

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.
javif89 added this to the Code cleanup project 2026-07-08 00:21:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
waycasthq/waycast#41
No description provided.