Skip to content

Commit 4e7ab85

Browse files
author
Mitchell Hwang
committed
Temporarily remove exception clause preventing AOT compilation
1 parent cf14036 commit 4e7ab85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Private.CoreLib/src/System/IO/LegacyFileStreamStrategy.Unix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected override void Dispose(bool disposing)
172172
{
173173
FlushWriteBuffer();
174174
}
175-
catch (Exception e) when (IsIoRelatedException(e) && !disposing)
175+
catch
176176
{
177177
// On finalization, ignore failures from trying to flush the write buffer,
178178
// e.g. if this stream is wrapping a pipe and the pipe is now broken.

0 commit comments

Comments
 (0)