示例#1
0
        public void Clean()
        {
            cameras.Clear();
            cameras = null;

            demoMode.Dispose();
            demoMode = null;
        }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             this.screen.Dispose();
             if (currentDemo != null)
             {
                 currentDemo.Dispose();
                 currentDemo = null;
             }
         }
         this.disposed = true;
     }
 }