TaskSerializer handle being disabled/deactivated mid-operation

This commit is contained in:
Tyfon
2024-07-02 00:45:58 -07:00
parent 214062b1f2
commit 799fc6fa94
3 changed files with 10 additions and 5 deletions

View File

@@ -31,6 +31,11 @@ namespace UIFixes
Complete();
}
public void OnDisable()
{
Cancel();
}
public void LateUpdate()
{
if (currentTask.IsCanceled)