diff options
Diffstat (limited to 'extensions/websocket/01_websocket.js')
-rw-r--r-- | extensions/websocket/01_websocket.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/websocket/01_websocket.js b/extensions/websocket/01_websocket.js index 7af795197..df8063d21 100644 --- a/extensions/websocket/01_websocket.js +++ b/extensions/websocket/01_websocket.js @@ -234,7 +234,11 @@ this[_url] = wsURL.href; - core.opSync("op_ws_check_permission", this[_url]); + core.opSync( + "op_ws_check_permission_and_cancel_handle", + this[_url], + false, + ); if (typeof protocols === "string") { protocols = [protocols]; |