Skip to content

Commit

Permalink
Release v1.14.1 (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Oct 30, 2023
1 parent e740664 commit 2083773
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UnitTests/Views/ViewDisposalTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ public void TestViewsDisposeCorrectly ()
GC.Collect ();
GC.WaitForPendingFinalizers ();
}

#if DEBUG_IDISPOSABLE
if (reference.IsAlive) {
Assert.True (((View)reference.Target).WasDisposed);
Assert.Fail ($"Some Views didnt get Garbage Collected: {((View)reference.Target).Subviews}");
}
#endif
}

void getSpecialParams ()
Expand Down

0 comments on commit 2083773

Please sign in to comment.