mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-04 13:57:39 +00:00
Handle ThreadInterruptedException when doing thread.Interrupt
This commit is contained in:
parent
3eb0c93526
commit
7bf7d8db3d
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,8 @@ namespace SteamController
|
|||
|
||||
if (!Enabled || !Steam.Updated)
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
try { Thread.Sleep(100); }
|
||||
catch (ThreadInterruptedException) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue