public void Stop() { if (searcher != null) { searcher.Close(); searcher = null; } if (indexer != null) { indexer.Stop(); indexer = null; } }
public void Stop() { TextSearcher.Instance.Stop(); if (indexer != null) { indexer.Stop(); indexer = null; } if (searcher != null) { searcher.Close(); searcher = null; } }