示例#1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _settings.Dispose();

                _removedBlockEventQueue.Dispose();

                _blockStorage.Dispose();
                _checkEventScheduler.Dispose();
            }
        }
示例#2
0
        protected override void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }

            _disposed = true;

            if (disposing)
            {
                _settings.Dispose();

                _addedBlockEventQueue.Dispose();
                _removedBlockEventQueue.Dispose();

                _usingSectorPool.Dispose();
                _fileStream.Dispose();
            }
        }