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

Job scheduler breaks on release mode #8

Open
erik-seifert opened this issue Jul 9, 2018 · 2 comments
Open

Job scheduler breaks on release mode #8

erik-seifert opened this issue Jul 9, 2018 · 2 comments

Comments

@erik-seifert
Copy link

E/flutter ( 8931): Receiver: null
E/flutter ( 8931): Tried calling: call()
E/flutter ( 8931): #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:46)
E/flutter ( 8931): #1      _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:279)
E/flutter ( 8931): #2      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165)

It only occurs on release builds. No problem with development builds. The application must be closed.

Flutter doctor

[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.1)
[!] VS Code (version 1.25.0)
[✓] Connected devices (1 available)
@erik-seifert
Copy link
Author

Moving function into main.dart fixes the problem.

@georggrab
Copy link
Owner

georggrab commented Jul 10, 2018 via email

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

No branches or pull requests

2 participants