From d191af9b9324efaae099c7db1c90a98b294c9fbe Mon Sep 17 00:00:00 2001 From: Mateleo Date: Fri, 22 Nov 2024 16:08:49 +0100 Subject: [PATCH] test --- src/DiIiS-NA/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DiIiS-NA/Program.cs b/src/DiIiS-NA/Program.cs index 31b5334..0d9cd20 100644 --- a/src/DiIiS-NA/Program.cs +++ b/src/DiIiS-NA/Program.cs @@ -310,8 +310,10 @@ namespace DiIiS_NA private static bool _shuttingDown = false; public static void Shutdown(Exception exception = null) + { Logger.Trace("Shutdown here"); + Logger.Debug("Stack trace at shutdown: " + Environment.StackTrace); // Log the stack trace if (_shuttingDown) return; _shuttingDown = true; if (!IsCancellationRequested())