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

Ensure we call into Engine from the UI taskrunner in Shell::EngineHasLivePorts() #13265

Merged
merged 1 commit into from
Oct 21, 2019

Conversation

gw280
Copy link
Contributor

@gw280 gw280 commented Oct 21, 2019

Shell's methods need to be called from the platform taskrunner, and Engine methods need to be called from the UI taskrunner. Currently we violate this by calling directly into Engine::UIIsolateHasLivePorts() from a Shell method which is running on the platform taskrunner.

@gw280
Copy link
Contributor Author

gw280 commented Oct 21, 2019

Tests for this are going to be covered by flutter/flutter#43189 which I am actively working on (I caught this bug working on that issue)

@gw280 gw280 force-pushed the gwright-shell-uithread branch from e45d992 to f572538 Compare October 21, 2019 20:13
@gw280 gw280 merged commit 73c6a4a into flutter:master Oct 21, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 22, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Oct 22, 2019
git@github.com:flutter/engine.git/compare/39e6901e6395...a064063

git log 39e6901..a064063 --no-merges --oneline
2019-10-22 a-siva@users.noreply.github.com Manual Roll of Dart from a61c775db8...e1c409792c (flutter/engine#13282)
2019-10-22 skia-flutter-autoroll@skia.org Roll src/third_party/skia 4a152d340f06..f3f8ac37e468 (1 commits) (flutter/engine#13283)
2019-10-22 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from hALu4... to xGLLm... (flutter/engine#13284)
2019-10-22 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from _e7Up... to _PqfD... (flutter/engine#13285)
2019-10-22 skia-flutter-autoroll@skia.org Roll src/third_party/skia 81e8d3b29662..4a152d340f06 (2 commits) (flutter/engine#13281)
2019-10-22 vsm@google.com Enable/tweak web sdk source maps, take 2 (flutter/engine#13161)
2019-10-22 skia-flutter-autoroll@skia.org Roll src/third_party/skia 56f569d9bec2..81e8d3b29662 (7 commits) (flutter/engine#13277)
2019-10-22 matthew-carroll@users.noreply.github.com Forwards Activity result to FlutterFragment in FlutterFragmentActivity. (flutter/engine#13214)
2019-10-21 gw280@google.com Ensure we call into Engine from the UI taskrunner in Shell::EngineHasLivePorts (flutter/engine#13265)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
git@github.com:flutter/engine.git/compare/39e6901e6395...a064063

git log 39e6901..a064063 --no-merges --oneline
2019-10-22 a-siva@users.noreply.github.com Manual Roll of Dart from a61c775db8...e1c409792c (flutter/engine#13282)
2019-10-22 skia-flutter-autoroll@skia.org Roll src/third_party/skia 4a152d340f06..f3f8ac37e468 (1 commits) (flutter/engine#13283)
2019-10-22 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from hALu4... to xGLLm... (flutter/engine#13284)
2019-10-22 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from _e7Up... to _PqfD... (flutter/engine#13285)
2019-10-22 skia-flutter-autoroll@skia.org Roll src/third_party/skia 81e8d3b29662..4a152d340f06 (2 commits) (flutter/engine#13281)
2019-10-22 vsm@google.com Enable/tweak web sdk source maps, take 2 (flutter/engine#13161)
2019-10-22 skia-flutter-autoroll@skia.org Roll src/third_party/skia 56f569d9bec2..81e8d3b29662 (7 commits) (flutter/engine#13277)
2019-10-22 matthew-carroll@users.noreply.github.com Forwards Activity result to FlutterFragment in FlutterFragmentActivity. (flutter/engine#13214)
2019-10-21 gw280@google.com Ensure we call into Engine from the UI taskrunner in Shell::EngineHasLivePorts (flutter/engine#13265)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
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