Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@wouterhardeman
Copy link
Contributor

@wouterhardeman wouterhardeman commented Jan 19, 2019

Resolves flutter/flutter#19819

When the image_picker is called before another call is finished it should return an error with the MethodResult object that came with the last method call. But instead it uses the MethodResult object from the first method call. When finishing up the first method call, the pendingResult (MethodResult object of the first call) property will already be set to null.

@cyanglaz cyanglaz self-requested a review January 30, 2019 20:53
Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this.
The fix looks good. Commented on some nit fix. Please rebase and resolve conflicts.

@cyanglaz
Copy link
Contributor

cyanglaz commented Jan 31, 2019

The original post of the same issue can be found here flutter/flutter#19819
Please refer this PR to flutter/flutter#19819 instead so we can better track this issue.

@cyanglaz
Copy link
Contributor

LGTM!

@cyanglaz cyanglaz merged commit 0f9fbe4 into flutter:master Jan 31, 2019
andreidiaconu pushed a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
andreidiaconu added a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
karantanwar pushed a commit to karantanwar/plugins that referenced this pull request Feb 19, 2019
karantanwar pushed a commit to karantanwar/plugins that referenced this pull request Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants