mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix assertion failure on shutdown
This commit is contained in:
parent
d0c292e2fd
commit
21c053ba87
@ -369,6 +369,7 @@ void CMusicHandler::release()
|
||||
boost::mutex::scoped_lock guard(mutex);
|
||||
|
||||
Mix_HookMusicFinished(nullptr);
|
||||
current->stop();
|
||||
|
||||
current.reset();
|
||||
next.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user