mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-15 19:40:09 +00:00
Fix TriggerEvent.SetCancel
This commit is contained in:
@@ -86,8 +86,8 @@ namespace Cysharp.Threading.Tasks
|
||||
LogError(ex);
|
||||
}
|
||||
|
||||
iteratingNode = null;
|
||||
var next = h == iteratingNode ? h.Next : iteratingNode;
|
||||
iteratingNode = null;
|
||||
Remove(h);
|
||||
h = next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user