Clean senderHoles from deleted subscriber

This commit is contained in:
Alex Hultman
2021-09-22 21:25:36 +02:00
committed by GitHub
parent 6393f97bfb
commit f1cd150efb
+3
View File
@@ -473,6 +473,9 @@ public:
topic->subs.erase(subscriber);
trimTree(topic);
}
/* If we are sender with outstanding holes, remove them now that we are dead */
senderHoles.erase(subscriber);
subscriber->subscriptions.clear();
}
}