From 9784ce935135ef1f25effd80d48dff49dd225604 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 22 Jan 2021 19:59:01 +0100 Subject: [PATCH] Fixed a crash --- git-teaspeak | 2 +- server/src/TS3ServerHeartbeat.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-teaspeak b/git-teaspeak index cc69652..2e77304 160000 --- a/git-teaspeak +++ b/git-teaspeak @@ -1 +1 @@ -Subproject commit cc696524f42ae16a2b288378e580322085b80402 +Subproject commit 2e7730459d6941a97f7bc2b9b50b678ab195a41d diff --git a/server/src/TS3ServerHeartbeat.cpp b/server/src/TS3ServerHeartbeat.cpp index 67b4f52..f5fc673 100644 --- a/server/src/TS3ServerHeartbeat.cpp +++ b/server/src/TS3ServerHeartbeat.cpp @@ -170,7 +170,7 @@ void VirtualServer::executeServerTick() { auto channels = this->channelTree->channels(); channel_lock.unlock(); - for(const auto& channel : this->channelTree->channels()){ + for(const auto& channel : channels){ if(channel->channelType() == ChannelType::temporary) { auto server_channel = dynamic_pointer_cast(channel); assert(server_channel);