made threads get cleaned up after display is shut down
This commit is contained in:
parent
4a4ec0f5de
commit
b72a014bde
1 changed files with 4 additions and 1 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Reference in a new issue