Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Reacting to Hosting changes #307

Merged
merged 1 commit into from
Oct 30, 2015
Merged

Conversation

JunTaoLuo
Copy link
Contributor

#258 and also responding to aspnet/Hosting#445

@dnfclas
Copy link

dnfclas commented Oct 29, 2015

Hi @JunTaoLuo, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

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; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put property after constructor.

@troydai
Copy link
Contributor

troydai commented Oct 29, 2015

⌚ very straightforward change.

@@ -184,6 +185,8 @@ public Task Stop()
}
finally
{
HttpContextFactory.Dispose(httpContext);
Copy link
Member

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.

@JunTaoLuo
Copy link
Contributor Author

cc @lodejard

@@ -3,6 +3,7 @@

using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JunTaoLuo JunTaoLuo force-pushed the johluo/iserverfactory-refactoring branch from c3e57ab to 4f702fb Compare October 30, 2015 17:36
@JunTaoLuo
Copy link
Contributor Author

ping @troydai @halter73 @davidfowl

@troydai
Copy link
Contributor

troydai commented Oct 30, 2015

:shipit:

@JunTaoLuo JunTaoLuo force-pushed the johluo/iserverfactory-refactoring branch from 4f702fb to b466c3b Compare October 30, 2015 21:20
@JunTaoLuo JunTaoLuo merged commit b466c3b into dev Oct 30, 2015
@JunTaoLuo JunTaoLuo deleted the johluo/iserverfactory-refactoring branch November 17, 2015 23:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants