mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
Roll engine to b3ed79122edd7172327ce415688ef674d6a7fa5d (#7476)
fixes #7433
This commit is contained in:
parent
55beaef743
commit
394a736984
|
@ -1 +1 @@
|
|||
fc421489b154c6ceb1b8a063541d5a5d4372db6b
|
||||
b3ed79122edd7172327ce415688ef674d6a7fa5d
|
||||
|
|
|
@ -168,9 +168,6 @@ class _FlutterDriverExtension {
|
|||
subscription = _onFrameReady.listen((Duration duration) {
|
||||
if (finder.precache()) {
|
||||
subscription.cancel();
|
||||
// TODO(goderbauer): Remove workaround for https://github.com/flutter/flutter/issues/7433
|
||||
Timer.run(() {});
|
||||
// end workaround
|
||||
completer.complete(finder);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -631,8 +631,6 @@ class LiveTestWidgetsFlutterBinding extends TestWidgetsFlutterBinding {
|
|||
super.handleBeginFrame(rawTimeStamp);
|
||||
if (_expectingFrame) {
|
||||
assert(_pendingFrame != null);
|
||||
// TODO(yjbanov): workaroud for https://github.com/flutter/flutter/issues/7433
|
||||
Timer.run(() {}); // forces runtime to flush Completer.complete() microtask
|
||||
_pendingFrame.complete(); // unlocks the test API
|
||||
_pendingFrame = null;
|
||||
_expectingFrame = false;
|
||||
|
|
Loading…
Reference in a new issue