-
Notifications
You must be signed in to change notification settings - Fork 523
Conversation
Hi @JunTaoLuo, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! The agreement was validated by .NET Foundation and real humans are currently evaluating your PR. TTYL, DNFBOT; |
private Stack<IDisposable> _disposables; | ||
private IHttpContextFactory _httpContextFactory; | ||
|
||
public IFeatureCollection Features { get; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put property after constructor.
⌚ very straightforward change. |
@@ -184,6 +185,8 @@ public Task Stop() | |||
} | |||
finally | |||
{ | |||
HttpContextFactory.Dispose(httpContext); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to happen after FireOnStarting
and FireOnCompleted
. Both these methods execute user code.
cc @lodejard |
@@ -3,6 +3,7 @@ | |||
|
|||
using System; | |||
using System.Threading.Tasks; | |||
using Microsoft.AspNet.Builder; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c3e57ab
to
4f702fb
Compare
ping @troydai @halter73 @davidfowl |
|
4f702fb
to
b466c3b
Compare
#258 and also responding to aspnet/Hosting#445