removed DEBUG stuff

This commit is contained in:
Charlie Kindel
2020-06-14 22:17:01 -07:00
parent bd7e9469bf
commit 6df27f5fd0
2 changed files with 0 additions and 10 deletions

View File

@@ -240,11 +240,6 @@ namespace Terminal.Gui {
// Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method
Dispose (disposing: true);
GC.SuppressFinalize (this);
#if DEBUG
WasDisposed = true;
Debug.Assert (DisposedCount == 0);
DisposedCount++;
#endif
}
}
}

View File

@@ -71,11 +71,6 @@ namespace Terminal.Gui {
Assert.Equal (1, iterations);
Assert.Equal (stackSize, iterations);
}
#if DEBUG
foreach (var inst in Responder.Instances) {
Assert.True (inst.WasDisposed);
}
#endif
}
[Fact]