Add a delay to the Gallery navigation memory test to give Dart an opportunity to GC (#23250)
See https://github.com/flutter/flutter/issues/23171
This commit is contained in:
parent
7fbb5b9f32
commit
086cfcb133
@ -79,6 +79,7 @@ Future<void> main() async {
|
||||
debugPrint('Backing out...');
|
||||
await controller.tap(find.byTooltip('Back'));
|
||||
await endOfAnimation();
|
||||
await Future<void>.delayed(const Duration(milliseconds: 50));
|
||||
}
|
||||
|
||||
debugPrint('==== MEMORY BENCHMARK ==== DONE ====');
|
||||
|
Loading…
x
Reference in New Issue
Block a user