You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run deno test would return the following error sometimes:
error: Leaks detected:
- "serverWebSocket" was created during the test, but not cleaned up during the test. Close the resource before the end of the test.
- An async operation to receive the next message on a WebSocket was started in this test, but never completed. This is often caused by not closing a `WebSocket` or `WebSocketStream`. The operation was started here:
at op_ws_next_event (ext:core/00_infra.js:250:13)
at WebSocket.[[[eventLoop]]] (ext:deno_websocket/01_websocket.js:431:26)
at eventLoopTick (ext:core/01_core.js:175:7)
The text was updated successfully, but these errors were encountered:
Version: Deno 2.1.2
deno/ext/websocket/01_websocket.js
Line 431 in 8626ec7
This line will wait even if the connection is closed locally.
Running the following code may reproduce the issue unstablely.
Run
deno test
would return the following error sometimes:The text was updated successfully, but these errors were encountered: