Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4.0 Beta4
-
-
beb83bae7c (qt/qtwebsockets/dev) 52479b5d81 (qt/qtwebsockets/6.4.0) e5cf6c4f7b (qt/qtwebsockets/6.4) e5cf6c4f7b (qt/tqtc-qtwebsockets/6.4) 52479b5d81 (qt/tqtc-qtwebsockets/6.4.0) beb83bae7c (qt/tqtc-qtwebsockets/dev) e5cf6c4f7b (qt/qtwebsockets/6.4.1)
Description
If QWebSocket is used from a worker thread, it is trying to touch window object here:
https://github.com/qt/qtwebsockets/blob/dev/src/websockets/qwebsocket_wasm_p.cpp#L139
This can probably be fixed by using self instead of window in here.