fix(app): unmute race condition (#56)
This commit is contained in:
parent
b4ed5456a2
commit
2c0894312b
@ -62,12 +62,8 @@ class LocalVoiceStateStore {
|
|||||||
);
|
);
|
||||||
this._disposers = [];
|
this._disposers = [];
|
||||||
this.persistenceHydrationPromise = this.initPersistence();
|
this.persistenceHydrationPromise = this.initPersistence();
|
||||||
this.persistenceHydrationPromise.then(() => {
|
|
||||||
this.enforcePermissionMuteIfNeeded();
|
|
||||||
});
|
|
||||||
this.initializePermissionSync();
|
this.initializePermissionSync();
|
||||||
this.initializeDevicePermissionSync();
|
this.initializeDevicePermissionSync();
|
||||||
this.enforcePermissionMuteIfNeeded();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async initPersistence(): Promise<void> {
|
private async initPersistence(): Promise<void> {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user