Author: boucman
Date: Sat Apr 21 18:02:49 2007
New Revision: 16956

URL: http://svn.gna.org/viewcvs/wesnoth?rev=16956&view=rev
Log:
attempt to fix log flooding (and maybe freeze) in mp games

Modified:
    trunk/src/network_worker.cpp

Modified: trunk/src/network_worker.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/network_worker.cpp?rev=16956&r1=16955&r2=16956&view=diff
==============================================================================
--- trunk/src/network_worker.cpp (original)
+++ trunk/src/network_worker.cpp Sat Apr 21 18:02:49 2007
@@ -507,6 +507,7 @@
                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;


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to