Permalink
Browse files

test_music.cpp: Manually stop music for now so that the thread termin…

…ates correctly

This should actually be done using Component::Deactivate() but this is currently not called at all.
  • Loading branch information...
1 parent daa5ff0 commit c7438f695ebecc1ec28f0f531d5d6848e9515e6f @svenstaro svenstaro committed Jun 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/src/test_music.cpp
View
@@ -70,6 +70,7 @@ int main(int argc, char** argv) {
exit(1);
}
+ resmgr->GetMusicFile(music_file)->Stop();
root.Deinitialize();
return 0;
}

2 comments on commit c7438f6

Member

timesqueezer replied Jun 19, 2011

This should IMO eventually be handled by the root.Deinitialize() mehtod.

Owner

svenstaro replied Jun 19, 2011

See #25

Please sign in to comment.