Code cleanup.

This commit is contained in:
2023-07-14 23:49:27 +08:00
parent b057ea8074
commit 8da54093aa
5 changed files with 7 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ namespace Cryville.Input.Unity.Android {
readonly Thread _thread;
private AndroidInputPoller() {
_thread = new Thread(ThreadLogic);
_thread = new Thread(ThreadLogic) { IsBackground = true, Priority = ThreadPriority.AboveNormal };
_thread.Start();
}