You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subscribe(Subscriber s) method calls s.onSubscribe(...), which in turn calls request(n) and goes into infinite loop waiting for wrapped single to complete. But actual Single has not been subscribed to yet and therefore infinite loop will never end.
@Overridepublicvoidsubscribe(Subscriber<? superT> s) {
SingleAsPublisherSubscriber<T> parent = newSingleAsPublisherSubscriber<T>(s);
s.onSubscribe(parent); // apparently, this goes into infinite loop and never returnssingle.subscribe(parent);
}