summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-08-18 23:38:23 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-08-25 18:19:24 -0400
commit596a4616b343bc527c0a90df0f0be0ece970c3c7 (patch)
tree7df39a8a05d924f2b92341febe096979b9f10178
parent68e629f17c349b685ef3c4836552adcbed0c4976 (diff)
downloadSMAPI-596a4616b343bc527c0a90df0f0be0ece970c3c7.tar.gz
SMAPI-596a4616b343bc527c0a90df0f0be0ece970c3c7.tar.bz2
SMAPI-596a4616b343bc527c0a90df0f0be0ece970c3c7.zip
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.
-rw-r--r--src/SMAPI/Framework/Logging/LogManager.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/Logging/LogManager.cs b/src/SMAPI/Framework/Logging/LogManager.cs
index a3d4f23d..7f1b76e7 100644
--- a/src/SMAPI/Framework/Logging/LogManager.cs
+++ b/src/SMAPI/Framework/Logging/LogManager.cs
@@ -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>