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
When using waitSafely() it just hangs. Nothing is written to the logcat, program execution is halted. Implementation seem to be fine according to the documentation. Any ideas?
The text was updated successfully, but these errors were encountered:
You're deadlocking the application by waiting on the UI thread, and this waiting prohibits the done or fail methods to get called on that thread. I just wonder why no ANR shows up. In essence you shouldn't be calling any wait method as your goal is to have completely asynchronous code. I think it's there for testing purposes.
eak yeah.. sorry it was there mostly for testing purposes and when the deferred tasks were executing on a different thread. waitSafely should probably be removed from AndroidDeferredManager, or warn that it shouldn't be used.
So, I have a small DeferredAsyncTask
that is called in a small flow
When using
waitSafely()
it just hangs. Nothing is written to the logcat, program execution is halted. Implementation seem to be fine according to the documentation. Any ideas?The text was updated successfully, but these errors were encountered: