mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-01-26 10:14:21 +01:00
Handle ThreadInterruptedException when doing thread.Interrupt
This commit is contained in:
parent
3eb0c93526
commit
7bf7d8db3d
|
|
@ -45,7 +45,8 @@ namespace SteamController
|
|||
|
||||
if (!Enabled || !Steam.Updated)
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
try { Thread.Sleep(100); }
|
||||
catch (ThreadInterruptedException) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue