Skip to content

Commit 2083773

Browse files
committed
Release v1.14.1 (2)
1 parent e740664 commit 2083773

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UnitTests/Views/ViewDisposalTest.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ public void TestViewsDisposeCorrectly ()
3232
GC.Collect ();
3333
GC.WaitForPendingFinalizers ();
3434
}
35-
35+
#if DEBUG_IDISPOSABLE
3636
if (reference.IsAlive) {
3737
Assert.True (((View)reference.Target).WasDisposed);
3838
Assert.Fail ($"Some Views didnt get Garbage Collected: {((View)reference.Target).Subviews}");
3939
}
40+
#endif
4041
}
4142

4243
void getSpecialParams ()

0 commit comments

Comments
 (0)