Do not wait for the scheduler on startup

This commit is contained in:
Nils Maier 2019-09-04 13:11:10 +02:00
parent 42ccfd5dc5
commit 9c159d5d24

View File

@ -93,7 +93,10 @@ export class Manager extends EventEmitter {
} }
this.items.push(rv); this.items.push(rv);
}); });
await this.resetScheduler();
// Do not wait for the scheduler
this.resetScheduler();
this.emit("inited"); this.emit("inited");
setTimeout(() => this.checkMissing(), MISSING_TIMEOUT); setTimeout(() => this.checkMissing(), MISSING_TIMEOUT);
runtime.onUpdateAvailable.addListener(() => { runtime.onUpdateAvailable.addListener(() => {