Is it possible that there is a logical path where the socket connection does not close? Example: close (wac.ws.close) is not executed in the Disconnect() function since wac.connected is false but actually the connection to the socket exists?
I have an exponential increase in memory when trying to reestablish connections of devices that are sleeping or without internet (I suspect that the socket is connected and Disconnect() reports that the connection does not exist).
Is it possible that there is a logical path where the socket connection does not close? Example:
close (wac.ws.close)
is not executed in theDisconnect()
function sincewac.connected
isfalse
but actually the connection to the socket exists?I have an exponential increase in memory when trying to reestablish connections of devices that are sleeping or without internet (I suspect that the socket is connected and
Disconnect()
reports that the connection does not exist).