| Index: lib/src/runner/reporter/compact.dart
|
| diff --git a/lib/src/runner/reporter/compact.dart b/lib/src/runner/reporter/compact.dart
|
| index 2fd6540cf40c52bd5ac319a38a97f42660ba51ce..398179203a1d602d0ec0adda93998b6468e44567 100644
|
| --- a/lib/src/runner/reporter/compact.dart
|
| +++ b/lib/src/runner/reporter/compact.dart
|
| @@ -210,7 +210,7 @@ class CompactReporter {
|
| /// [success] will be `true` if all tests passed, `false` if some tests
|
| /// failed, and `null` if the engine was closed prematurely.
|
| void _onDone(bool success) {
|
| - _timer.cancel();
|
| + if (_timer != null) _timer.cancel();
|
| _timer = null;
|
| _stopwatch.stop();
|
|
|
|
|