neuecc / UniRx

Reactive Extensions for Unity
MIT License
7.08k stars 891 forks source link

ReactiveCollection<T> & ReactiveDictionary<T> disposed state #506

Open Fijo opened 2 years ago

Fijo commented 2 years ago

I noticed that there's a mistake in the ReactiveCollection class. Most methods check the disposed state using the isDisposed Field. However this is never updated. Instead the dispose logic uses another field called disposedValue. The same is the case for ReactiveDictionary