-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RxScala Bug #1173
Comments
To be sure, this works: public class ComeCrash {
public static <T> Observable<T> wrap(Observable<T> source) {
return Observable.create((Subscriber<? super T> subscriber) -> {
System.out.println("Subscribed");
subscriber.add(source.subscribe(subscriber));
});
}
public static void main(String[] args) {
wrap(Observable.just(1)).subscribe(System.out::println,
Throwable::printStackTrace, () -> System.out.println("Done."));
}
} |
zsxwing
added a commit
to zsxwing/RxJava
that referenced
this issue
May 9, 2014
Merged
zsxwing
added a commit
to zsxwing/RxJava
that referenced
this issue
May 11, 2014
benjchristensen
added a commit
that referenced
this issue
May 19, 2014
Closing as #1178 is merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works but this crashes
The text was updated successfully, but these errors were encountered: