Some cleanup in MQTT and added global listener.

This commit is contained in:
Ziver Koc 2020-06-22 12:49:00 +02:00
parent 704b5ffc36
commit 8d350d31c5
3 changed files with 33 additions and 25 deletions

View file

@ -199,6 +199,6 @@ public class MqttBrokerTest {
// Check response
assertEquals(null, thread.sentPackets.poll());
assertTrue(thread.isShutdown());
assertTrue(thread.isDisconnected());
}
}