From 8ad7af86c0ad130395019c540884ca0da12a7ed2 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 29 Dec 2022 08:32:23 -0600 Subject: [PATCH] Graceful termination on shutdown, logoff, and service stop (#647) --- src/main.cpp | 70 ++++++++++++++++++++++++ tools/sunshinesvc.cpp | 124 +++++++++++++++++++++++++++++++++--------- 2 files changed, 168 insertions(+), 26 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 58271f83..2411640e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -136,16 +136,86 @@ std::map