/// <summary> /// Releases all resources used by this spell check engine. /// </summary> public void Dispose() { if (_hunspell != null) { _hunspell.Dispose(); _hunspell = null; } SaveCustomWordsDictionary(); }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_hunspell != null && !_hunspell.IsDisposed) { _hunspell.Dispose(); } _hunspell = null; } }
public void Cleanup() { Checker?.Dispose(); }
public void Dispose() { Checker?.Dispose(); }