Explorar el Código

Applying dispose.

BDisp hace 1 año
padre
commit
986c681775
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      UnitTests/View/Layout/ViewportTests.cs

+ 3 - 0
UnitTests/View/Layout/ViewportTests.cs

@@ -448,5 +448,8 @@ public class ViewportTests (ITestOutputHelper output)
         Application.Begin (top);
 
         Assert.True (view.IsViewLocationVisibleInViewport (x, y) == expected);
+
+        top.Dispose ();
+        Application.Shutdown ();
     }
 }