mirror of https://github.com/Cysharp/UniTask
Fix TriggerEvent.SetCancel
parent
22940635fe
commit
af2e49aa29
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue