mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
properly handle removing subscribers from channels when the subscriber node disconnects
This commit is contained in:
parent
8112b3b57e
commit
6dfcc53c27
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ MessagesMixer::~MessagesMixer() {
|
|||
}
|
||||
|
||||
void MessagesMixer::nodeKilled(SharedNodePointer killedNode) {
|
||||
// FIXME - remove the node from the subscription maps
|
||||
for (auto& channel : _channelSubscribers) {
|
||||
channel.remove(killedNode->getUUID());
|
||||
}
|
||||
}
|
||||
|
||||
void MessagesMixer::handleMessages(QSharedPointer<NLPacketList> packetList, SharedNodePointer senderNode) {
|
||||
|
|
Loading…
Reference in a new issue