mirror of
https://github.com/denoland/deno.git
synced 2025-01-11 00:21:05 -05:00
0e72129da2
It is possible that the WebSocket is already closed when we try to close it with `WebSocket#close` or in the `error` or `close` events. Currently this leads to an uncatchable promise rejection. This changes this so that closing an already closed WebSocket is a noop. |
||
---|---|---|
.. | ||
console | ||
crypto | ||
fetch | ||
url | ||
web | ||
webgpu | ||
webidl | ||
websocket |