*Ensure we await on the promise not the wrapper
This commit is contained in:
parent
c121879cbd
commit
38a599ce55
|
@ -64,7 +64,8 @@ export class RpcNetwork {
|
||||||
public async processQueue(): Promise<void> {
|
public async processQueue(): Promise<void> {
|
||||||
for (const promise of this._actionQueue) {
|
for (const promise of this._actionQueue) {
|
||||||
try {
|
try {
|
||||||
await promise();
|
const p = promise();
|
||||||
|
await p;
|
||||||
} catch (e: any) {}
|
} catch (e: any) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue