Workaround for #7433 in flutter_driver (#7447)

This commit is contained in:
Michael Goderbauer 2017-01-11 13:57:53 -08:00 committed by GitHub
parent 7f2915d331
commit 528d507a53

View File

@ -168,6 +168,9 @@ 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);
}
});