Fixed a crash
This commit is contained in:
parent
660fe3317f
commit
9784ce9351
@ -1 +1 @@
|
||||
Subproject commit cc696524f42ae16a2b288378e580322085b80402
|
||||
Subproject commit 2e7730459d6941a97f7bc2b9b50b678ab195a41d
|
@ -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<ServerChannel>(channel);
|
||||
assert(server_channel);
|
||||
|
Loading…
Reference in New Issue
Block a user