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

Revert "Re-land "Support multiple shells in a single process. (#4932)"" #4981

Merged
merged 1 commit into from
Apr 12, 2018

Conversation

mraleph
Copy link
Member

@mraleph mraleph commented Apr 12, 2018

Reverts #4977

This breaks hot restart.

To reproduce build the local engine with this change, run Flutter Gallery flutter run --debug --local-engine android_debug and once the application is loaded press R.

@mraleph
Copy link
Member Author

mraleph commented Apr 12, 2018

Originally discovered by @jensjoha

/cc @cbracken @a-siva

@mraleph mraleph merged commit 723c7d0 into master Apr 12, 2018
@mraleph mraleph deleted the revert-4977-master branch April 12, 2018 16:28
@jason-simmons
Copy link
Member

Hot restart is failing because the RunInView service protocol method is being passed a bogus .packages file along with the path to the recompiled main script .dill

@chinmaygarde @aam If RunInView is running a .dill, then should the .packages parameter be ignored? If so, then DartIsolate::PrepareForRunningFromSource can check for a .dill and then delegate to DartIsolate::PrepareForRunningFromSnapshot

@aam
Copy link
Member

aam commented Apr 12, 2018

@jason-simmons wrote:

If RunInView is running a .dill, then should the .packages parameter be ignored?

Yes, I believe so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants