close sinks cleanup (#5838)

part of https://github.com/flutter/flutter/issues/5789
This commit is contained in:
Dan Rubel
2016-09-13 14:15:36 -04:00
committed by GitHub
parent 3e2a52bc21
commit 672d04e0d0
5 changed files with 33 additions and 2 deletions

View File

@@ -62,6 +62,10 @@ class MockDeviceLogReader extends DeviceLogReader {
Stream<String> get logLines => _linesController.stream;
void addLine(String line) => _linesController.add(line);
void dispose() {
_linesController.close();
}
}
void applyMocksToCommand(FlutterCommand command) {