Skip to content

Commit

Permalink
Fixed old bug when checking for updater
Browse files Browse the repository at this point in the history
Could have caused a thread lock
  • Loading branch information
Ryochan7 committed Oct 28, 2019
1 parent 661ff79 commit 541112e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DS4Windows/DS4Forms/DS4Form.cs
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ private void UpdateTheUpdater()
while (processes.Length > 0)
{
Thread.Sleep(500);
processes = Process.GetProcessesByName("DS4Updater");
}

File.Delete(exepath + "\\DS4Updater.exe");
Expand Down

0 comments on commit 541112e

Please sign in to comment.