This commit is contained in:
Mateleo 2024-11-22 16:03:59 +01:00
parent 501078c398
commit 5d202454c0

View File

@ -311,6 +311,7 @@ namespace DiIiS_NA
private static bool _shuttingDown = false; private static bool _shuttingDown = false;
public static void Shutdown(Exception exception = null) public static void Shutdown(Exception exception = null)
{ {
Logger.Trace("Shutdown here");
if (_shuttingDown) return; if (_shuttingDown) return;
_shuttingDown = true; _shuttingDown = true;
if (!IsCancellationRequested()) if (!IsCancellationRequested())