| Index: sdk/lib/io/http_impl.dart
|
| diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
|
| index 720a4075660bb5c5246fc2652041d34e419d4f3f..bea663db3a098c333b542b439f08d77d9e0d1b6a 100644
|
| --- a/sdk/lib/io/http_impl.dart
|
| +++ b/sdk/lib/io/http_impl.dart
|
| @@ -1693,7 +1693,8 @@ class _HttpClient implements HttpClient {
|
| _closing = true;
|
| _connectionTargets.values.toList().forEach((c) => c.close(force));
|
| assert(!_connectionTargets.values.any((s) => s.hasIdle));
|
| - assert(!force || _connectionTargets.isEmpty);
|
| + assert(!force ||
|
| + !_connectionTargets.values.any((s) => s._active.isNotEmpty));
|
| }
|
|
|
| set authenticate(Future<bool> f(Uri url, String scheme, String realm)) {
|
|
|