Skip to content

Commit 2bd7217

Browse files
bkonyiCommit Queue
authored andcommitted
[ dart:io ] Remove bad assert from socket profiling stat collection
Fixes #61187 CoreLibraryReviewExempt:dart-io Change-Id: I66e06b546e9e40e58874da5d70b0f05647aac190 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/442260 Reviewed-by: Samuel Rawlins <[email protected]> Auto-Submit: Ben Konyi <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent 684a391 commit 2bd7217

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sdk/lib/io/network_profiling.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ abstract class _SocketProfile {
271271
// Skip any socket that started before `_enableSocketProfiling` was turned
272272
// on.
273273
final stats = _idToSocketStatistic[idKey];
274-
assert(stats != null, '"$idKey" not found in "_idToSocketStatistic" map');
275274
if (stats == null) return;
276275
switch (type) {
277276
case _SocketProfileType.endTime:

0 commit comments

Comments
 (0)