public void Observable_Can_Be_Disposed_Before_Subscription() { var observable = new Observable<Foo>(); var subscription = observable.SubscribeOn(Scheduler.Default).Subscribe( f=> {}); observable.Dispose(); subscription.Dispose(); }
public void Observable_Can_Be_Disposed_Before_Subscription() { var observable = new Observable<Foo>(); var subscription = observable.SubscribeOn(Scheduler.Default).Subscribe( f=> {}); observable.Dispose(); subscription.Dispose(); }