Fixed old bug when checking for updater

Could have caused a thread lock
This commit is contained in:
Travis Nickles 2019-10-27 22:16:07 -05:00
parent 661ff79115
commit 541112e188

View File

@ -555,6 +555,7 @@ namespace DS4Windows.Forms
while (processes.Length > 0) while (processes.Length > 0)
{ {
Thread.Sleep(500); Thread.Sleep(500);
processes = Process.GetProcessesByName("DS4Updater");
} }
File.Delete(exepath + "\\DS4Updater.exe"); File.Delete(exepath + "\\DS4Updater.exe");