@ -244,13 +244,6 @@ public class MQTTService extends Service {
sendOffline();
disconnectMqtt();
stopSelf();
try {
if (client != null) {
client.disconnect();
}
} catch (Exception e) {
e.printStackTrace();
EventBus.getDefault().unregister(this);
super.onDestroy();