forked from firka/flutter
Audit devicelab log streaming for nullability (#84820)
This commit is contained in:
@@ -161,9 +161,8 @@ class _TaskRunner {
|
||||
result = await futureResult;
|
||||
} finally {
|
||||
if (device != null && device.canStreamLogs) {
|
||||
assert(sink != null);
|
||||
await device.stopLoggingToSink();
|
||||
await sink.close();
|
||||
await sink?.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user