After debugging, it turns out we have to disconnect explicitly everything we deallocate a lightstreamer client.


Quote Originally Posted by gianluca.bertani View Post
As far as we can see, when in a continuous reconnection loop the client keeps the number of threads limited. To better understand the conditions under which your problem occurs, I kindly ask you to replicate it with client logging enabled.

You can enable logging by adding the following line:

[LSLightstreamerClient setLoggerProvider:[[LSConsoleLoggerProvider alloc] initWithLevel:LSConsoleLogLevelDebug]];

Once you have collected it, please send it to support@lightstreamer.com.
Thank you.