mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
fix unawaited future (#21439)
This commit is contained in:
parent
5907a7264d
commit
61719c4e9f
@ -215,7 +215,7 @@ void main() {
|
|||||||
expect(uri.port, 54777);
|
expect(uri.port, 54777);
|
||||||
expect('$uri', 'http://[::1]:54777/PTwjm8Ii8qg=/');
|
expect('$uri', 'http://[::1]:54777/PTwjm8Ii8qg=/');
|
||||||
|
|
||||||
discoverer.cancel();
|
await discoverer.cancel();
|
||||||
logReader.dispose();
|
logReader.dispose();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user