-
Notifications
You must be signed in to change notification settings - Fork 6k
[web] clear surfaces on hot restart #28675
[web] clear surfaces on hot restart #28675
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
annagrin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - in my non-specialist eye:)
annagrin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
harryterkelsen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* ffdaa4b Implement a default font manager for Fuchsia. (flutter/engine#28673) * 0608a01 Replace jcenter() for mavenCentral() (flutter/engine#28777) * ccec08a Roll Dart SDK from a0243abd09e3 to 86a21d182523 (6 revisions) (flutter/engine#28779) * e2bd498 [web] clear surfaces on hot restart (flutter/engine#28675) * 6eceff5 Roll Skia from e32309d771ee to a48e7b0186b3 (10 revisions) (flutter/engine#28782) * 3c01c60 Eliminate unnecessary canvaskit imports (flutter/engine#28787) * 4e4873e Set MinimumOSVersion to iOS 9 in Info.plist (flutter/engine#28783) * 4872f8f Roll Dart SDK from 86a21d182523 to c2429dee845e (1 revision) (flutter/engine#28789) * d8120eb Roll Skia from a48e7b0186b3 to bb30fc16e1be (1 revision) (flutter/engine#28791) * 13a631a Roll Fuchsia Mac SDK from 3k3-vCrm5... to NM9FaaYay... (flutter/engine#28792) * a60c0c3 Roll Fuchsia Linux SDK from JD40LpEJO... to bWZcp2jnx... (flutter/engine#28793) * 04d47cd Roll Skia from bb30fc16e1be to 5527735121f5 (1 revision) (flutter/engine#28794) * 827c62a Roll Dart SDK from c2429dee845e to 715a98df1828 (1 revision) (flutter/engine#28795) * f16f0ce Roll Skia from 5527735121f5 to cb25d566c21d (3 revisions) (flutter/engine#28796) * ec009a3 Roll Dart SDK from 715a98df1828 to 4e396689de4f (1 revision) (flutter/engine#28797) * df5b566 Disable failing unit tests on UWP (flutter/engine#28785) * b6e7440 Roll Dart SDK from 4e396689de4f to 6e17953f4e7e (1 revision) (flutter/engine#28800) * fa2eb22 [canvaskit] Fix bug when overlays are disabled (flutter/engine#28790)
* ffdaa4b Implement a default font manager for Fuchsia. (flutter/engine#28673) * 0608a01 Replace jcenter() for mavenCentral() (flutter/engine#28777) * ccec08a Roll Dart SDK from a0243abd09e3 to 86a21d182523 (6 revisions) (flutter/engine#28779) * e2bd498 [web] clear surfaces on hot restart (flutter/engine#28675) * 6eceff5 Roll Skia from e32309d771ee to a48e7b0186b3 (10 revisions) (flutter/engine#28782) * 3c01c60 Eliminate unnecessary canvaskit imports (flutter/engine#28787) * 4e4873e Set MinimumOSVersion to iOS 9 in Info.plist (flutter/engine#28783) * 4872f8f Roll Dart SDK from 86a21d182523 to c2429dee845e (1 revision) (flutter/engine#28789) * d8120eb Roll Skia from a48e7b0186b3 to bb30fc16e1be (1 revision) (flutter/engine#28791) * 13a631a Roll Fuchsia Mac SDK from 3k3-vCrm5... to NM9FaaYay... (flutter/engine#28792) * a60c0c3 Roll Fuchsia Linux SDK from JD40LpEJO... to bWZcp2jnx... (flutter/engine#28793) * 04d47cd Roll Skia from bb30fc16e1be to 5527735121f5 (1 revision) (flutter/engine#28794) * 827c62a Roll Dart SDK from c2429dee845e to 715a98df1828 (1 revision) (flutter/engine#28795) * f16f0ce Roll Skia from 5527735121f5 to cb25d566c21d (3 revisions) (flutter/engine#28796) * ec009a3 Roll Dart SDK from 715a98df1828 to 4e396689de4f (1 revision) (flutter/engine#28797) * df5b566 Disable failing unit tests on UWP (flutter/engine#28785) * b6e7440 Roll Dart SDK from 4e396689de4f to 6e17953f4e7e (1 revision) (flutter/engine#28800) * fa2eb22 [canvaskit] Fix bug when overlays are disabled (flutter/engine#28790)
Surfaces register DOM event listeners, which need to be cleaned up before hot restarting, lest they are triggered after the hot restart and attempt to operate on discarded objects.
Fixes flutter/flutter#90236.