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
|
||||
// and ViewComponents to reference it.
|
||||
var oldWriter = context.Writer;
|
||||
context.Writer = bodyWriter;
|
||||
|
||||
try
|
||||
{
|
||||
context.Writer = bodyWriter;
|
||||
await ExecuteAsync();
|
||||
}
|
||||
finally
|
||||
|
|
|
|||
Loading…
Reference in New Issue