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

Fix lookupCallback crash #583

Merged

Conversation

Taym95
Copy link
Contributor

@Taym95 Taym95 commented Dec 29, 2021

@hnvn hnvn merged commit c38bb57 into fluttercommunity:master Jan 24, 2022
@@ -126,6 +126,10 @@ private void startBackgroundIsolate(Context context) {
// lookup will fail.
FlutterCallbackInformation flutterCallback =
FlutterCallbackInformation.lookupCallbackInformation(callbackHandle);
if (flutterCallback == null) {

Choose a reason for hiding this comment

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

Hi, just a quick question if you got the time.
If the flutterCallback turns out to be null, what are we expecting to happen on devices? Are we expecting the downloader to not do anything?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

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.

3 participants