cr feedback
This commit is contained in:
parent
6610788b75
commit
1ca2203421
|
|
@ -35,10 +35,10 @@ namespace Microsoft.AspNet.Mvc.Razor
|
||||||
// The writer for the body is passed through the ViewContext, allowing things like HtmlHelpers
|
// The writer for the body is passed through the ViewContext, allowing things like HtmlHelpers
|
||||||
// and ViewComponents to reference it.
|
// and ViewComponents to reference it.
|
||||||
var oldWriter = context.Writer;
|
var oldWriter = context.Writer;
|
||||||
context.Writer = bodyWriter;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
context.Writer = bodyWriter;
|
||||||
await ExecuteAsync();
|
await ExecuteAsync();
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue