Try to fix alive problem
This commit is contained in:
@@ -88,6 +88,7 @@ void MqttClient::close(bool bSendDisconnect)
|
|||||||
void MqttClient::connect(MqttBroker* local)
|
void MqttClient::connect(MqttBroker* local)
|
||||||
{
|
{
|
||||||
debug("MqttClient::connect_local");
|
debug("MqttClient::connect_local");
|
||||||
|
alive = 0;
|
||||||
close();
|
close();
|
||||||
local_broker = local;
|
local_broker = local;
|
||||||
clientAlive();
|
clientAlive();
|
||||||
|
|||||||
Reference in New Issue
Block a user