Add dispose

master
hadashiA 2023-09-09 17:04:02 +09:00
parent 730d68132d
commit ea57847c97
1 changed files with 4 additions and 2 deletions

View File

@ -147,8 +147,10 @@ namespace Cysharp.Threading.Tasks.Linq
static void GetResultAt(object state) static void GetResultAt(object state)
{ {
var tuple = (StateTuple<_Merge, int, UniTask<bool>.Awaiter>)state; using (var tuple = (StateTuple<_Merge, int, UniTask<bool>.Awaiter>)state)
tuple.Item1.GetResultAt(tuple.Item2, tuple.Item3); {
tuple.Item1.GetResultAt(tuple.Item2, tuple.Item3);
}
} }
void GetResultAt(int index, UniTask<bool>.Awaiter awaiter) void GetResultAt(int index, UniTask<bool>.Awaiter awaiter)