/// <inheritdoc/> protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing && Rx != default) { foreach (var ns in ExecuteSql <Namespace>(GetNamespacesQuery).Items) { CloseNamespace(ns.Name); } if (Rx != default) { ReindexerBinding.destroy_reindexer(Rx); } } Rx = default; disposedValue = true; } }
public void DestroyReindexer() { ReindexerBinding.destroy_reindexer(_rx); }