Code cleanup.
This commit is contained in:
@@ -51,6 +51,7 @@ namespace Cryville.Common.Network.Http11 {
|
||||
|
||||
public void Dispose() {
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
public virtual void Dispose(bool disposing) {
|
||||
|
@@ -30,6 +30,7 @@ namespace Cryville.Common.Network.Http11 {
|
||||
|
||||
public void Dispose() {
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
public virtual void Dispose(bool disposing) {
|
||||
|
@@ -30,6 +30,7 @@ namespace Cryville.Common.Network {
|
||||
|
||||
public void Dispose() {
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
public virtual void Dispose(bool disposing) {
|
||||
|
@@ -6,6 +6,9 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
|
||||
using System.Runtime.InteropServices;
|
||||
#endif
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using UnityEngine;
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user