Rewrite exit code, shutdown handlers etc
This commit is contained in:
parent
b1a05c68dd
commit
9e586bf2f3
6 changed files with 33 additions and 55 deletions
|
|
@ -61,8 +61,7 @@ namespace Server.Misc
|
|||
|
||||
private void Restart_Callback()
|
||||
{
|
||||
Process.Start( Core.ExePath, Core.Arguments );
|
||||
Core.Process.Kill();
|
||||
Core.Kill( true );
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue