Send channel notification when clearing documents

This commit is contained in:
Clément Renault 2019-10-28 17:58:22 +01:00
parent c08dcac1d4
commit a43b37dfc1
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -167,6 +167,7 @@ impl Index {
}
pub fn clear_all(&self, writer: &mut heed::RwTxn) -> MResult<u64> {
let _ = self.updates_notifier.send(());
update::push_clear_all(writer, self.updates, self.updates_results)
}