fix unawaited future (#21439)

This commit is contained in:
Jonah Williams 2018-09-05 09:29:22 -07:00 committed by GitHub
parent 5907a7264d
commit 61719c4e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,7 @@ void main() {
expect(uri.port, 54777);
expect('$uri', 'http://[::1]:54777/PTwjm8Ii8qg=/');
discoverer.cancel();
await discoverer.cancel();
logReader.dispose();
});
});