Author: baufo
Date: Sat Mar 22 11:14:56 2008
New Revision: 24970

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24970&view=rev
Log:
Forgot to detach the mailing thread. Now it really seems to work.

Modified:
    branches/mp_registration/src/server/server.cpp

Modified: branches/mp_registration/src/server/server.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/mp_registration/src/server/server.cpp?rev=24970&r1=24969&r2=24970&view=diff
==============================================================================
--- branches/mp_registration/src/server/server.cpp (original)
+++ branches/mp_registration/src/server/server.cpp Sat Mar 22 11:14:56 2008
@@ -733,7 +733,8 @@
         if(!password_reminder.empty()) {
             mail_info* m = new mail_info(this, user_handler_, sock, 
password_reminder);
             void* v = reinterpret_cast<void*>(m);
-            threading::thread(&send_mail_thread, v);
+            threading::thread t(&send_mail_thread, v);
+            t.detach();
             return;
         }
        }


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

Reply via email to