public void Clean() { cameras.Clear(); cameras = null; demoMode.Dispose(); demoMode = null; }
/// <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; } }