Skip to content

Commit dca42bc

Browse files
committed
[Concurrency] Remove runAsyncAndBlock
1 parent ef769c5 commit dca42bc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Sources/Stream/Library/BufferedStream/BufferedOutputStream.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ public class BufferedOutputStream<T: OutputStream> {
2323
}
2424

2525
deinit {
26-
runAsyncAndBlock {
27-
try? await self.flush()
28-
}
2926
storage.deallocate()
3027
}
3128
}

0 commit comments

Comments
 (0)