Need a way to gracefully exit an application #6

Closed
opened 2024-08-19 02:09:50 -06:00 by sashakoshka · 0 comments
Owner

When the backend stops, the main goroutine stops abruptly, causing the whole program to stop abruptly. This poses a problem if there are other goroutines running. There should be an Application.Stop behavior which stops the application and blocks until it has completely stopped. Nasin can call this behavior after the backend exits to ensure the application is properly shut down.

When the backend stops, the main goroutine stops abruptly, causing the whole program to stop abruptly. This poses a problem if there are other goroutines running. There should be an Application.Stop behavior which stops the application and blocks until it has completely stopped. Nasin can call this behavior after the backend exits to ensure the application is properly shut down.
sashakoshka referenced this issue from a commit 2024-08-19 20:27:23 -06:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tomo/nasin#6
No description provided.