made threads get cleaned up after display is shut down

This commit is contained in:
Dave White 2005-06-03 00:06:59 +00:00
parent 4a4ec0f5de
commit b72a014bde

View file

@ -123,9 +123,12 @@ private:
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_;