Crash handling fixes.
This commit is contained in:
parent
621f69d6ef
commit
6ae4f74e78
1 changed files with 4 additions and 8 deletions
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue