Roll engine to e976be13c51448f89107d082ec81e2b6731671fa (#17266)

* Roll engine to e976be13c51448f89107d082ec81e2b6731671fa

* move away from deprecated constants
This commit is contained in:
Yegor
2018-05-03 19:24:48 -07:00
committed by GitHub
parent c9954f1053
commit b2c98f9a4e
39 changed files with 75 additions and 74 deletions

View File

@@ -460,7 +460,7 @@ Future<int> findAvailablePort() async {
while (true) {
try {
final ServerSocket socket =
await ServerSocket.bind(InternetAddress.LOOPBACK_IP_V4, port);
await ServerSocket.bind(InternetAddress.loopbackIPv4, port);
await socket.close();
return port;
} catch (_) {