Merge branch 'poljar/shutdown' into develop

This commit is contained in:
Damir Jelić 2020-03-17 10:15:12 +01:00
commit 997a179e69
2 changed files with 4 additions and 3 deletions

View file

@ -564,7 +564,8 @@ export default class EventIndex extends EventEmitter {
const indexManager = PlatformPeg.get().getEventIndexingManager();
this.removeListeners();
this.stopCrawler();
return indexManager.closeEventIndex();
await indexManager.closeEventIndex();
return;
}
/**