Skip to content
This repository has been archived by the owner on Jul 7, 2019. It is now read-only.

Commit

Permalink
Dispose all performance counters when disposing OpMonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBaulch committed Oct 31, 2013
1 parent 979f789 commit 3691b8a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -224,7 +224,7 @@ internal static CounterCreationData[] CreateCounters(string op)

public void Dispose()
{
((IDisposable)this.pcTotalPerSec).Dispose();
((IDisposable)this).Dispose();
}

void IDisposable.Dispose()
Expand Down

0 comments on commit 3691b8a

Please sign in to comment.