public void ChromaWindowDoesNotThrowWhenDisposingTwice()
        {
            var cw = new ChromaWindow();

#pragma warning disable IDISP016, IDISP017
            cw.Dispose();
            cw.Dispose();
#pragma warning restore IDISP016, IDISP017
        }
        public void Dispose()
        {
            if (_disposed)
            {
                return;
            }

            _cw.Dispose();
            _disposed = true;
        }
Beispiel #3
0
 public void Dispose()
 {
     _cw.Dispose();
 }