Stop the service if the user quits via the tray icon

This commit is contained in:
Cameron Gutman
2023-04-15 17:51:32 -05:00
parent dd6fcbd7b8
commit f51876893e
5 changed files with 56 additions and 13 deletions

View File

@@ -79,4 +79,10 @@ namespace mail {
#undef MAIL
} // namespace mail
namespace lifetime {
void
exit_sunshine(int exit_code, bool async);
} // namespace lifetime
#endif // SUNSHINE_MAIN_H