attempt to fix log flooding (and maybe freeze) in mp games

This commit is contained in:
Jérémy Rosen 2007-04-21 16:02:49 +00:00
parent 3669dfee94
commit ea12c80a68

View File

@ -507,6 +507,7 @@ TCPsocket get_received_data(TCPsocket sock, config& cfg)
return NULL;
} else if (!itor->config_error.empty()){
// throw the error in parent thread
received_data_queue.erase(itor);
throw config::error(itor->config_error);
} else {
cfg = itor->config_buf;