Auto formatting

This commit is contained in:
Vladimir
2024-07-28 13:28:31 +04:00
parent 419db64fd8
commit 1a576c50c6

View File

@@ -319,10 +319,12 @@ namespace Process_Auto_Relaunch
{ {
if (ProcessByNameIsRuning(path)) if (ProcessByNameIsRuning(path))
{ {
// Процесс уже запущен
return; return;
} }
} }
// Процесс не запущен
WatchedProcess = Process.Start(path, args); WatchedProcess = Process.Start(path, args);
cpuLastTime = 0; cpuLastTime = 0;
cpuMeasureTimer.Start(); cpuMeasureTimer.Start();