mirror of
https://github.com/SlothDpal/Relaunch-Process.git
synced 2026-02-22 17:27:38 +03:00
Merge branch 'Dark-raven-lab:master' into working
This commit is contained in:
5
Form1.cs
5
Form1.cs
@@ -189,11 +189,6 @@ namespace Process_Auto_Relaunch
|
||||
var processes = Process.GetProcessesByName(name);
|
||||
foreach (var process in processes)
|
||||
{
|
||||
if (!process.Responding)
|
||||
{
|
||||
MessageBox.Show($"Âîçìîæíî ïðîöåññ {process.ProcessName} çàâèñ.");
|
||||
}
|
||||
|
||||
Debug.WriteLine($"Found proces: {process.ProcessName}. Session Id: {process.SessionId}. Current Session Id: {sessionid}");
|
||||
if (process.SessionId == sessionid)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user