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
Memory leaks found while connecting to invalid socket server url with native engine.
Specifically, NativeEngine instance count increases in Xcode memory graph whenever I try to reconnect to the socket server with the same url.
varsocket:WebSocket?func connect(url:URL){// Disconnect from previous connection// FYI. Memory leak also occurs when calling `socket?.forceDisconnect()`
socket?.disconnect()
socket =WebSocket(request:...)...}
The text was updated successfully, but these errors were encountered:
Memory leaks found while connecting to invalid socket server url with native engine.
Specifically,
NativeEngine
instance count increases in Xcode memory graph whenever I try to reconnect to the socket server with the same url.The text was updated successfully, but these errors were encountered: