| Index: pkg/barback/lib/src/phase.dart
|
| diff --git a/pkg/barback/lib/src/phase.dart b/pkg/barback/lib/src/phase.dart
|
| index a106441e327e19734a5f5c17c60d8b4912d25bac..a240f06865f29b371ec7f3aed3393f60f9f899de 100644
|
| --- a/pkg/barback/lib/src/phase.dart
|
| +++ b/pkg/barback/lib/src/phase.dart
|
| @@ -325,7 +325,7 @@ class Phase {
|
| ///
|
| /// This will remove all the phase's outputs and all following phases.
|
| void remove() {
|
| - _previous._next = null;
|
| + if (_previous != null) _previous._next = null;
|
| removeFollowing();
|
| for (var input in _inputs.values.toList()) {
|
| input.remove();
|
|
|