Handle ThreadInterruptedException when doing thread.Interrupt

This commit is contained in:
Kamil Trzciński 2022-12-18 09:12:31 +01:00
parent 3eb0c93526
commit 7bf7d8db3d

View file

@ -45,7 +45,8 @@ namespace SteamController
if (!Enabled || !Steam.Updated)
{
Thread.Sleep(100);
try { Thread.Sleep(100); }
catch (ThreadInterruptedException) { }
}
}
}