We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccab97d commit 4798774Copy full SHA for 4798774
src/library_websocket.js
@@ -416,7 +416,7 @@ var LibraryWebSocket = {
416
err('emscripten_websocket_delete(socketId='+socketId+')');
417
#endif
418
socket.onopen = socket.onerror = socket.onclose = socket.onmessage = null;
419
- delete WS.sockets[socket];
+ delete WS.sockets[socketId];
420
return {{{ cDefine('EMSCRIPTEN_RESULT_SUCCESS') }}};
421
},
422
0 commit comments