소스 검색

Added comments to Scenario

Tig 1 년 전
부모
커밋
29534c4c45
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      UICatalog/Scenario.cs

+ 4 - 0
UICatalog/Scenario.cs

@@ -90,8 +90,12 @@ public class Scenario : IDisposable
 
     public void Dispose ()
     {
+        // BUGBUG: Top should have already been disposed. We dispose it here until we can fix the scenarios that are doing it wrong.
         Top?.Dispose ();
+
+        // We created Win, so we Dispose it.
         Win?.Dispose ();
+
         // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method
         Dispose (true);
         GC.SuppressFinalize (this);