CR Feedback

This commit is contained in:
David Fowler 2015-09-16 15:01:22 -07:00
parent 9b061ececb
commit 82f58d5f16
2 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,6 @@ namespace Microsoft.AspNet.Hosting.Internal
public void Dispose() public void Dispose()
{ {
_stop.Dispose(); _stop.Dispose();
(_services as IDisposable)?.Dispose();
} }
} }
} }

View File

@ -127,6 +127,7 @@ namespace Microsoft.AspNet.Hosting.Internal
_applicationLifetime.NotifyStopping(); _applicationLifetime.NotifyStopping();
server.Dispose(); server.Dispose();
_applicationLifetime.NotifyStopped(); _applicationLifetime.NotifyStopped();
(_applicationServices as IDisposable)?.Dispose();
})); }));
} }