no longer abort input thread when exiting

`thread.Abort` is unimplemented in .NET 5, but it's not needed anyway since all threads will be aborted when the game exits.
This commit is contained in:
Jesse Plamondon-Willard 2021-08-18 23:38:23 -04:00
parent 68e629f17c
commit 596a4616b3
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
1 changed files with 0 additions and 2 deletions

View File

@ -162,8 +162,6 @@ namespace StardewModdingAPI.Framework.Logging
// keep console thread alive while the game is running
while (continueWhile())
Thread.Sleep(1000 / 10);
if (inputThread.ThreadState == ThreadState.Running)
inputThread.Abort();
}
/// <summary>Show a 'press any key to exit' message, and exit when they press a key.</summary>