Skip to content

Commit 095f009

Browse files
committed
Add finally back
1 parent a443648 commit 095f009

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cached_network_image/lib/src/image_provider/_image_loader.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ class ImageLoader implements platform.ImageLoader {
140140

141141
errorListener?.call(e);
142142
rethrow;
143+
} finally {
144+
await chunkEvents.close();
143145
}
144-
await chunkEvents.close();
145146
}
146147
}

0 commit comments

Comments
 (0)