Fix NetworkPeer instance memory leak
This commit is contained in:
@@ -40,4 +40,5 @@ void NetworkManager::ShutdownHost(NetworkPeer* host)
|
||||
host->HostId = -1;
|
||||
Hosts.Remove(host);
|
||||
|
||||
Delete(host);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user