aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/Internal/DebugStats.cs
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-24 14:32:54 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-24 14:32:54 -0700
commit11c3c68f9d72d3f7d410b660dd4dc134762f70fa (patch)
tree558c2cfbf1b88c504cad0e7c6f2e1f1d001eaf6f /src/csharp/Grpc.Core/Internal/DebugStats.cs
parent7f4fc98704fa5130f4919139427338ca6b309a52 (diff)
parentddb0b8c4956b986a26cbbcabd4c4d81b9391770d (diff)
Merge github.com:grpc/grpc into endpoints
Diffstat (limited to 'src/csharp/Grpc.Core/Internal/DebugStats.cs')
-rw-r--r--src/csharp/Grpc.Core/Internal/DebugStats.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/csharp/Grpc.Core/Internal/DebugStats.cs b/src/csharp/Grpc.Core/Internal/DebugStats.cs
index 8793450ff3..1bea1adf9e 100644
--- a/src/csharp/Grpc.Core/Internal/DebugStats.cs
+++ b/src/csharp/Grpc.Core/Internal/DebugStats.cs
@@ -38,10 +38,6 @@ namespace Grpc.Core.Internal
{
internal class DebugStats
{
- public readonly AtomicCounter ActiveClientCalls = new AtomicCounter();
-
- public readonly AtomicCounter ActiveServerCalls = new AtomicCounter();
-
public readonly AtomicCounter PendingBatchCompletions = new AtomicCounter();
/// <summary>
@@ -49,16 +45,6 @@ namespace Grpc.Core.Internal
/// </summary>
public void CheckOK()
{
- var remainingClientCalls = ActiveClientCalls.Count;
- if (remainingClientCalls != 0)
- {
- DebugWarning(string.Format("Detected {0} client calls that weren't disposed properly.", remainingClientCalls));
- }
- var remainingServerCalls = ActiveServerCalls.Count;
- if (remainingServerCalls != 0)
- {
- DebugWarning(string.Format("Detected {0} server calls that weren't disposed properly.", remainingServerCalls));
- }
var pendingBatchCompletions = PendingBatchCompletions.Count;
if (pendingBatchCompletions != 0)
{