Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

Commit 9a33463

Browse files
committed
Ignore exceptions
1 parent 1580717 commit 9a33463

File tree

1 file changed

+8
-1
lines changed
  • src/Microsoft.Net.Http.Server/RequestProcessing

1 file changed

+8
-1
lines changed

src/Microsoft.Net.Http.Server/RequestProcessing/Response.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,14 @@ private void NotifyOnResponseCompleted()
871871
// Execute last to first. This mimics a stack unwind.
872872
foreach (var actionPair in actions.Reverse())
873873
{
874-
actionPair.Item1(actionPair.Item2);
874+
try
875+
{
876+
actionPair.Item1(actionPair.Item2);
877+
}
878+
catch
879+
{
880+
// Ignore exceptions
881+
}
875882
}
876883
}
877884

0 commit comments

Comments
 (0)