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

RegisterAsyncFunction in 2.1.0.1 fires callback on dispatcher #14

Closed
darkmyst opened this issue Feb 24, 2011 · 2 comments
Closed

RegisterAsyncFunction in 2.1.0.1 fires callback on dispatcher #14

darkmyst opened this issue Feb 24, 2011 · 2 comments
Labels

Comments

@darkmyst
Copy link

When running the Awesome People sample app for v2.1.0.1, the flickr picture fetching code uses ReactiveAsyncCommand.RegisterAsyncFunction(..). It should fire the callback on some other thread (the Taskpool by default, it looks like), but it seems to be firing on the dispatcher thread. I've made some cursory attempts to get it to fire on another thread by passing in an explicit scheduler to the ReactiveAsyncCommand constructor and the RegisterAsyncFunction method but one way or another it seems to either fire on the dispatcher thread (blocking the ui) or crash complaining about accessing an object that belongs to another thread.

@darkmyst
Copy link
Author

This may not be an issue at all with the recent rewrite, of course.

@anaisbetts
Copy link
Member

Thanks for the bug report! This is fixed in the upcoming release

ghuntley pushed a commit that referenced this issue Oct 6, 2017
@lock lock bot added the outdated label Jun 26, 2019
@lock lock bot locked and limited conversation to collaborators Jun 26, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants