Skip to content

Commit

Permalink
Merge pull request #39 from testfirstcoder/master
Browse files Browse the repository at this point in the history
Keyword "virtual" added for the Dispose method
  • Loading branch information
scott-xu authored Oct 29, 2016
2 parents 78ee785 + 0637e58 commit 9223360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ninject.Extensions.Wcf.SelfHost/NinjectWcfSelfHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void Dispose()
/// Releases unmanaged and - optionally - managed resources
/// </summary>
/// <param name="disposable"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
protected void Dispose(bool disposable)
protected virtual void Dispose(bool disposable)
{
foreach (var serviceHost in this.hosts)
{
Expand Down

0 comments on commit 9223360

Please sign in to comment.