Fix the active network task not re-enqueued when suspended.
This commit is contained in:
@@ -57,6 +57,7 @@ namespace Cryville.Common.Unity {
|
||||
suspended = true;
|
||||
if (currentNetworkTask != null) {
|
||||
currentNetworkTask.Cancel();
|
||||
networkTasks.Enqueue(currentNetworkTask);
|
||||
currentNetworkTask = null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user