well. to be honest.
I used to create my own serial queue for LightStreamerConnection stuff.
so it was blocked.
now I use the global concurrent queue:
[COLOR=#3D1D81]dispatch_async[COLOR=#000000]([/COLOR]dispatch_get_global_queue[COLOR=#000000]([/COLOR][COLOR=#78492a]DISPATCH_QUEUE_PRIORITY_DEFAULT[/COLOR][COLOR=#000000], [/COLOR][COLOR=#272ad8]0[/COLOR][COLOR=#000000]), ^{
[/COLOR][/COLOR]
[COLOR=#bb2ca2]@try[/COLOR]
{
[[COLOR=#4f8187]_client[/COLOR] [COLOR=#31595d]openConnectionWithInfo[/COLOR]:connectionInfo [COLOR=#31595d]delegate[/COLOR] :Smile_Ah: COLOR=#bb2ca2]self[/COLOR]];
}
[COLOR=#bb2ca2]@catch[/COLOR] (LSPushServerException *exPushServer)
{
}
[COLOR=#bb2ca2]@catch[/COLOR] (LSPushConnectionException *exPushConn)
{
[COLOR=#D12F1B][COLOR=#222222]}[/COLOR] [/COLOR]
});
so that global queue is blocked while connecting with wrong credentials.
Then I reconnect and I don't know what is happening to it.
Anyway I don't see any previous blocks.
and secondly, I'm not receiving didReceiveServerFailure:
I receive didReceiveConnectionFailure
with message
[B]Connection failure: Connection timed out
[/B]
with no errorCode because it is
LSPushConnectionException
so if I would use my serial queue when shall I call closeConnection?