diff --git a/Debugger.cs b/Debugger.cs index e3b25b2..cf6f2d1 100644 --- a/Debugger.cs +++ b/Debugger.cs @@ -324,6 +324,7 @@ public void StartDebugger() #if DEBUG throw; #else + Environment.Exit(1); return; #endif } diff --git a/Program.Shared.cs b/Program.Shared.cs index 184fbfb..514124b 100644 --- a/Program.Shared.cs +++ b/Program.Shared.cs @@ -264,6 +264,9 @@ public static void ExecuteProcessor(Processor processor) OnExecutionException(e, processor); #if DEBUG throw; +#else + Environment.Exit(1); + return; #endif } } diff --git a/Program.cs b/Program.cs index 83ceeda..25c82a5 100644 --- a/Program.cs +++ b/Program.cs @@ -580,6 +580,9 @@ private static void DisplayLicense() Console.ResetColor(); #if DEBUG throw; +#else + Environment.Exit(1); + return; #endif } }