-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Native error when isolate created with spawnUri() communicates back to main isolate #47674
Comments
Thanks @maxim-saplin for filing the bug. |
@aam thanks for prompt reaction, appreciated! BTW, how can I track if a certain issue filed on GitHub or commited to Googlesource lands stable version? |
@maxim-saplin I'm not aware of an automated mechanism that tracks this. |
Thanks for the bug report @maxim-saplin & @aam for the fix! I've filed #47696 to get this cherry-picked. |
Fixes #47674 TEST=send_object_to_spawn_uri_isolate_test.dart Change-Id: I96d81df5edbac3054220348be8654250246cad8b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/220066 Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Alexander Aprelev <[email protected]>
Dart SDK version: 2.14.4 (stable) (Wed Oct 13 11:11:32 2021 +0200) on "macos_x64"
CCing @aam
Steps to reproduce:
spawnUri
branch)dart test test/isolate_pooled_instance_test.dart
Actuals:
Test run is halted with the following output:
Expected:
All is good.
Comments in regards to the code
spawnUri()
as a workaround for the troubles caused due to Isolates Groups turned on by default forspawn()
(Performance degradation after upgrading to newer Flutter with Isolate Groups enabled by default #47672)The text was updated successfully, but these errors were encountered: