EventIndex: Move the event listener registration into the EventIndex class.
This commit is contained in:
parent
d2a9918359
commit
6017473caf
3 changed files with 40 additions and 30 deletions
|
@ -97,10 +97,9 @@ class EventIndexPeg {
|
|||
const indexManager = PlatformPeg.get().getEventIndexingManager();
|
||||
|
||||
if (indexManager !== null) {
|
||||
this.stop();
|
||||
this.unset();
|
||||
console.log("EventIndex: Deleting event index.");
|
||||
await indexManager.deleteEventIndex();
|
||||
this.index = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue