Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(websocket): ignore resource close error (denoland#9755)
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.
- Loading branch information