apply patch
This commit is contained in:
Timothy Bish 2014-02-17 13:33:07 -05:00
parent b679787917
commit b97fa15d53
1 changed files with 2 additions and 1 deletions

View File

@ -381,7 +381,8 @@ public class MQTTProtocolConverter {
return topic.qos(); return topic.qos();
} }
void onUnSubscribe(UNSUBSCRIBE command) { void onUnSubscribe(UNSUBSCRIBE command) throws MQTTProtocolException {
checkConnected();
UTF8Buffer[] topics = command.topics(); UTF8Buffer[] topics = command.topics();
if (topics != null) { if (topics != null) {
for (UTF8Buffer topic : topics) { for (UTF8Buffer topic : topics) {