Rewritten pub/sub, v20

This commit is contained in:
Alex Hultman
2021-09-25 04:46:10 +02:00
parent ebb06374f3
commit 4243874967
11 changed files with 407 additions and 902 deletions
+1 -2
View File
@@ -249,8 +249,7 @@ private:
}
/* Make sure to unsubscribe from any pub/sub node at exit */
webSocketContextData->topicTree.unsubscribeAll(webSocketData->subscriber, false);
delete webSocketData->subscriber;
webSocketContextData->topicTree.freeSubscriber(webSocketData->subscriber);
webSocketData->subscriber = nullptr;
}