Crash handling fixes.

This commit is contained in:
eos@runuo.com 2013-06-20 15:56:59 +00:00
parent 621f69d6ef
commit 6ae4f74e78

View file

@ -282,15 +282,11 @@ namespace Server
{ {
} }
if ( m_Service ) { Console.WriteLine( "This exception is fatal, press return to exit" );
Console.WriteLine( "This exception is fatal." ); Console.ReadLine();
} else {
Console.WriteLine( "This exception is fatal, press return to exit" );
Console.ReadLine();
}
} }
m_Closing = true; Kill();
} }
} }
@ -494,7 +490,7 @@ namespace Server
ScriptCompiler.Invoke( "Initialize" ); ScriptCompiler.Invoke( "Initialize" );
MessagePump messagePump = new MessagePump(); MessagePump messagePump = m_MessagePump = new MessagePump();
timerThread.Start(); timerThread.Start();