EventIndexing: Add a missing platform getting.

pull/21833/head
Damir Jelić 2019-11-12 15:41:14 +01:00
parent ecbc47c548
commit d69eb78b66
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ export default class EventIndexer {
}
async deleteEventIndex() {
const platform = PlatformPeg.get();
if (platform.supportsEventIndexing()) {
console.log("Seshat: Deleting event index.");
this.crawlerRef.cancel();