exit on restart
This commit is contained in:
@@ -229,6 +229,8 @@ namespace Torch.Server
|
||||
}
|
||||
|
||||
Process.Start(exe, $"--waitForPid {Environment.ProcessId} --tempAutostart true {string.Join(" ", args)}");
|
||||
|
||||
Environment.Exit(0);
|
||||
})
|
||||
{
|
||||
Name = "Restart thread"
|
||||
|
Reference in New Issue
Block a user