Tabs occasionally tried to setState after dispose (#5784)
Fixes https://github.com/flutter/flutter/issues/5776
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
To run these benchmarks on a device:
|
||||
|
||||
```
|
||||
flutter run --release -t lib/gestures/velocity_tracker_data.dart
|
||||
flutter run --release -t lib/stocks/animation_bench.dart
|
||||
flutter run --release -t lib/stocks/build_bench.dart
|
||||
flutter run --release -t lib/stocks/layout_bench.dart
|
||||
flutter run --release lib/gestures/velocity_tracker_data.dart
|
||||
flutter run --release lib/stocks/animation_bench.dart
|
||||
flutter run --release lib/stocks/build_bench.dart
|
||||
flutter run --release lib/stocks/layout_bench.dart
|
||||
```
|
||||
|
||||
The results should be in the device logs.
|
||||
|
||||
@@ -11,7 +11,6 @@ const Duration kBenchmarkTime = const Duration(seconds: 15);
|
||||
|
||||
|
||||
Future<Null> main() async {
|
||||
assert(false); // don't run this in checked mode! Use --release.
|
||||
stock_data.StockDataFetcher.actuallyFetchData = false;
|
||||
|
||||
final Stopwatch watch = new Stopwatch();
|
||||
|
||||
Reference in New Issue
Block a user