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

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

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