Skip to content
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

Make Subscriptions of SwingObservable thread-safe #883

Merged
merged 1 commit into from
Feb 18, 2014

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented Feb 17, 2014

Updated rxjava-swing according to the discussion in #869. Is it necessary to move the unit tests to src/test/java folder?

@cloudbees-pull-request-builder

RxJava-pull-requests #815 SUCCESS
This pull request looks good

@benjchristensen
Copy link
Member

Does #890 with the new operator unsubscribeOn change your approach for this at all?

Also, can you rebase it for merge? I missed merging it before conflicts happened.

@zsxwing
Copy link
Member Author

zsxwing commented Feb 18, 2014

I prefer my current approach as it can unsubscribe at once if it's in the event dispatch thread.

@cloudbees-pull-request-builder

RxJava-pull-requests #826 FAILURE
Looks like there's a problem with this pull request

@zsxwing
Copy link
Member Author

zsxwing commented Feb 18, 2014

This failure is because #885 imports a Java 7 api: java.util.Objects.

@cloudbees-pull-request-builder

RxJava-pull-requests #830 SUCCESS
This pull request looks good

@benjchristensen
Copy link
Member

I prefer my current approach as it can unsubscribe at once if it's in the event dispatch thread.

Agreed.

benjchristensen added a commit that referenced this pull request Feb 18, 2014
Make Subscriptions of SwingObservable thread-safe
@benjchristensen benjchristensen merged commit 9ded95d into ReactiveX:master Feb 18, 2014
@zsxwing zsxwing deleted the swing-thread-safe branch March 2, 2014 03:20
samuelgruetter added a commit to samuelgruetter/rx-playground that referenced this pull request Sep 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants