assume bg is ready if messaging succeeded
This commit is contained in:
parent
7a1045b45a
commit
6ff5f17140
|
@ -161,8 +161,10 @@
|
||||||
return Promise.reject(e);
|
return Promise.reject(e);
|
||||||
}
|
}
|
||||||
await bgReadying;
|
await bgReadying;
|
||||||
bgReadying = bgReadySignal = null;
|
|
||||||
return msg.send(m);
|
return msg.send(m);
|
||||||
|
} finally {
|
||||||
|
// Assuming bg is ready if messaging succeeded
|
||||||
|
bgReadying = bgReadySignal = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user