*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> {
|
||||
for (const promise of this._actionQueue) {
|
||||
try {
|
||||
await promise();
|
||||
const p = promise();
|
||||
await p;
|
||||
} catch (e: any) {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue