mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix(ext/http): actually await goAhead
promise (#24226)
This commit is contained in:
parent
e92d44fbff
commit
bff235a8ec
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class InnerRequest {
|
|||
const wsRid = await wsPromise;
|
||||
|
||||
// We have to wait for the go-ahead signal
|
||||
await goAhead;
|
||||
await goAhead.promise;
|
||||
|
||||
ws[_rid] = wsRid;
|
||||
ws[_readyState] = WebSocket.OPEN;
|
||||
|
|
Loading…
Reference in a new issue