mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-13 11:16:04 +00:00
fixed debug output, server exit hang, crashes
This commit is contained in:
@@ -61,6 +61,8 @@ public:
|
||||
struct ClientInterface{
|
||||
std::set<Client*> Clients;
|
||||
void RemoveClient(Client *c){
|
||||
Assert(c);
|
||||
c->ClearCars();
|
||||
Clients.erase(c);
|
||||
delete c;
|
||||
c = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user