- Timestamp:
- Apr 13, 2006, 11:27:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r7288 r7289 103 103 PRINTF(4)("Deleted GameWorld\n"); 104 104 105 if (this->audioThread != NULL)106 SDL_KillThread(this->audioThread);107 105 } 108 106 … … 206 204 PRINTF(3)("GameWorld::~GameWorld() - unloading the current GameWorld\n"); 207 205 206 if (this->audioThread != NULL) 207 { 208 this->bRunning = false; 209 SDL_WaitThread(this->audioThread, NULL); 210 this->audioThread = NULL; 211 } 212 208 213 this->dataTank->unloadData(); 209 214 … … 237 242 this->bRunning = false; 238 243 239 // SDL_KillThread(this->audioThread);240 244 this->audioThread = NULL; 241 245 }
Note: See TracChangeset
for help on using the changeset viewer.