diff --git a/sdk/lib/io/network_profiling.dart b/sdk/lib/io/network_profiling.dart index 5bacb4c8e75..6bd6910d7ba 100644 --- a/sdk/lib/io/network_profiling.dart +++ b/sdk/lib/io/network_profiling.dart @@ -271,7 +271,6 @@ abstract class _SocketProfile { // Skip any socket that started before `_enableSocketProfiling` was turned // on. final stats = _idToSocketStatistic[idKey]; - assert(stats != null, '"$idKey" not found in "_idToSocketStatistic" map'); if (stats == null) return; switch (type) { case _SocketProfileType.endTime: