GracefullyShutdown: Add "subsystem x/y shutting down" message

Remove old "X shutting down", "X shut down" messages, they were bad and
confusing
This commit is contained in:
Lion Kortlepel
2021-09-09 11:58:58 +03:00
committed by Lion
parent d43ee4b7b6
commit b055fd8bda
6 changed files with 14 additions and 14 deletions

View File

@@ -56,8 +56,9 @@ int main(int argc, char** argv) try {
// TODO: replace
while (!Shutdown) {
std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(50));
}
info("Shutdown.");
} catch (const std::exception& e) {
error(e.what());
Sentry.LogException(e, _file_basename, _line);