We are using UniRx and UniTask.
I want to use CancellableDisposable as I usually need to Cancel on Disposal.
I started to use UniRx.CancellableDisposable only to find out its implementation does not actually Dispose the inner CancellationTokenSource. And this is the same thing in original implementation System.Reactive.Disposables.CancellableDisposable.
Is this OK? expected? Should I stop using CancellableDisposable and use our own implementation:
We are using UniRx and UniTask. I want to use
CancellableDisposable
as I usually need toCancel
on Disposal. I started to useUniRx.CancellableDisposable
only to find out its implementation does not actuallyDispose
the innerCancellationTokenSource
. And this is the same thing in original implementationSystem.Reactive.Disposables.CancellableDisposable
.Is this OK? expected? Should I stop using
CancellableDisposable
and use our own implementation: