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
May I ask why is the self.connected set to YES when the method connectWithCompletionHandler:(void (^)(MQTTConnectionReturnCode code))completionHandler; is called on line 212 in MQTTKit.m?
I would expect that to only be set to true or false when a connection is made with the server or closed, not before is opened as it happens in this case. Or is that intended behaviour?
Anyway, great work and very useful 👍
The text was updated successfully, but these errors were encountered:
May I ask why is the
self.connected
set toYES
when the methodconnectWithCompletionHandler:(void (^)(MQTTConnectionReturnCode code))completionHandler;
is called on line212
inMQTTKit.m
?I would expect that to only be set to true or false when a connection is made with the server or closed, not before is opened as it happens in this case. Or is that intended behaviour?
Anyway, great work and very useful 👍
The text was updated successfully, but these errors were encountered: