Never drain a closing socket from unsubscribeAll

This commit is contained in:
Alex Hultman
2020-06-10 22:25:45 +02:00
parent 17b718a10b
commit fd2d36328d
4 changed files with 5 additions and 14 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ public:
}
/* Make sure to unsubscribe from any pub/sub node at exit */
webSocketContextData->topicTree.unsubscribeAll(webSocketData->subscriber);
webSocketContextData->topicTree.unsubscribeAll(webSocketData->subscriber, false);
delete webSocketData->subscriber;
webSocketData->subscriber = nullptr;
}