What's the recommended way to handle the websocket when reloading the webview? If we don't disconnect the websocket we get a lot of error messages similar to the one below:
[Error] TypeError: window['_' + 1465076431] is not a function. (In 'window['_' + 1465076431]({ message: response, id: 8 })', 'window['_' + 1465076431]' is undefined) — 127.0.0.1:1:162
error
We tried to disconnect the socket during the unload event but it doesn't work.
Fetch API cannot load ipc://localhost/plugin%3Awebsocket%7Csend due to access control checks.
What's the recommended way to handle the websocket when reloading the webview? If we don't disconnect the websocket we get a lot of error messages similar to the one below:
We tried to disconnect the socket during the unload event but it doesn't work.
Fetch API cannot load ipc://localhost/plugin%3Awebsocket%7Csend due to access control checks.
beforeunload event doesn't trigger.
Permissions