EventIndexing: Rename the stop method.
This commit is contained in:
parent
d911055f5d
commit
ecbc47c548
2 changed files with 7 additions and 5 deletions
|
@ -57,13 +57,14 @@ class EventIndexPeg {
|
|||
return true
|
||||
}
|
||||
|
||||
async stop() {
|
||||
if (this.index == null) return;
|
||||
index.stopCrawler();
|
||||
stop() {
|
||||
if (this.index === null) return;
|
||||
index.stop();
|
||||
this.index = null;
|
||||
}
|
||||
|
||||
async deleteEventIndex() {
|
||||
if (this.index == null) return;
|
||||
if (this.index === null) return;
|
||||
index.deleteEventIndex();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue