close sinks cleanup (#5838)
part of https://github.com/flutter/flutter/issues/5789
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user