Compare commits

..

1 Commits

Author SHA1 Message Date
zznty
aeea192860 exit on restart 2023-01-09 22:02:54 +07:00

View File

@@ -229,6 +229,8 @@ namespace Torch.Server
} }
Process.Start(exe, $"--waitForPid {Environment.ProcessId} --tempAutostart true {string.Join(" ", args)}"); Process.Start(exe, $"--waitForPid {Environment.ProcessId} --tempAutostart true {string.Join(" ", args)}");
Environment.Exit(0);
}) })
{ {
Name = "Restart thread" Name = "Restart thread"