don't build a whole new client when mqtt disconnects

This commit is contained in:
Eric House 2024-01-11 10:28:37 -08:00
parent a16a34adc9
commit 01ec8395d3

View file

@ -623,8 +623,7 @@ public class MQTTUtils extends Thread
@Override @Override
public void connectionLost( Throwable cause ) public void connectionLost( Throwable cause )
{ {
Log.d( TAG, "%H.connectionLost(%s)", this, cause ); Log.d( TAG, "%H.connectionLost(cause=%s)", this, cause );
clearInstance();
} }
@Override @Override