Network: Remove static buffer form of NetworkAddress::GetAddressAsString
This is used in multiple threads concurrently
This commit is contained in:
@@ -659,7 +659,7 @@ void NetworkRebuildHostList()
|
||||
_network_host_list.clear();
|
||||
|
||||
for (NetworkGameList *item = _network_game_list; item != nullptr; item = item->next) {
|
||||
if (item->manually) _network_host_list.emplace_back(item->address.GetAddressAsString(false));
|
||||
if (item->manually) _network_host_list.emplace_back(NetworkAddressDumper().GetAddressAsString(&(item->address), false));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user