mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 10:45:41 +00:00
attempt to fix log flooding (and maybe freeze) in mp games
This commit is contained in:
parent
3669dfee94
commit
ea12c80a68
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user