fix torch not restarting when start occurs second time

This commit is contained in:
zznty
2024-10-23 16:51:41 +07:00
parent f75ef55405
commit 264daf7515

View File

@@ -185,7 +185,7 @@ namespace Torch.Server
if (IsRunning || HasRun)
{
Restart();
Restart(false);
return;
}