protected override void Dispose(bool disposing) { if (disposing) { _settings.Dispose(); _removedBlockEventQueue.Dispose(); _blockStorage.Dispose(); _checkEventScheduler.Dispose(); } }
protected override void Dispose(bool disposing) { if (_disposed) { return; } _disposed = true; if (disposing) { _settings.Dispose(); _addedBlockEventQueue.Dispose(); _removedBlockEventQueue.Dispose(); _usingSectorPool.Dispose(); _fileStream.Dispose(); } }