/// <summary> /// Releases unmanaged and - optionally - managed resources. /// </summary> /// <param name="disposing"><c>True</c> to release both managed and unmanaged resources; <c>False</c> to release only unmanaged resources.</param> protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { if (this.Manager != null) { this.Manager.Dispose(); this.Manager = null; } } this.disposed = true; } }
public ProfilerApp() { this.Manager = HoloToolkit.Sharing.ProfilerStreamManager.Create(); this.disposed = false; }