Fix up unsubscribeAll

This commit is contained in:
Alex Hultman
2019-10-07 11:58:02 +02:00
parent d09f25850b
commit 6c7844d65f
6 changed files with 122 additions and 276 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ private:
}
/* Make sure to unsubscribe from any pub/sub node at exit */
webSocketContextData->topicTree.unsubscribeAll((Subscriber *) s);
webSocketContextData->topicTree.unsubscribeAll(webSocketData->subscriber);
}
/* Destruct in-placed data struct */