Skip to content

Commit

Permalink
U
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Feb 13, 2024
1 parent 0b2b03c commit 6c481bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal static CancellationToken GetDestroyCancellationToken(this MonoBehaviour

public static CancellationTokenRegistration AddTo(this IDisposable disposable, MonoBehaviour value)
{
return disposable.AddTo(value.GetDestroyCancellationToken());
return disposable.RegisterTo(value.GetDestroyCancellationToken());
}
}
}

0 comments on commit 6c481bf

Please sign in to comment.