wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src game.cpp


From: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src game.cpp
Date: Thu, 02 Jun 2005 20:06:59 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    05/06/03 00:06:59

Modified files:
        src            : game.cpp 

Log message:
        made threads get cleaned up after display is shut down

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.248&tr2=1.249&r1=text&r2=text

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.248 wesnoth/src/game.cpp:1.249
--- wesnoth/src/game.cpp:1.248  Thu Jun  2 23:26:37 2005
+++ wesnoth/src/game.cpp        Fri Jun  3 00:06:59 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.248 2005/06/02 23:26:37 isaaccp Exp $ */
+/* $Id: game.cpp,v 1.249 2005/06/03 00:06:59 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -122,10 +122,13 @@
        const int argc_;
        int arg_;
        const char* const * const argv_;
+
+       //this should get destroyed *after* the video, since we want to clean 
up threads
+       //after the display disappears.
+       const threading::manager thread_manager;
 
        CVideo video_;
-
-       const threading::manager thread_manager;
+
        const font::manager font_manager_;
        const sound::manager sound_manager_;
        const preferences::manager prefs_manager_;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]