protected virtual void Dispose(bool disposing) { if (disposing) { if (_reader != null) { _reader.Dispose(); } } }
public virtual void Shutdown() { if (_boboReader != null) { try { _boboReader.Dispose(); } catch (Exception e) { logger.Error(e.Message); } } }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_closeReader) { lock (this) { if (_reader != null) { try { _reader.Dispose(); _reader = null; } catch (Exception ioe) { throw new BrowseException(ioe.Message, ioe); } } } } } }