mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix assertion failure on shutdown
This commit is contained in:
@@ -369,6 +369,7 @@ void CMusicHandler::release()
|
||||
boost::mutex::scoped_lock guard(mutex);
|
||||
|
||||
Mix_HookMusicFinished(nullptr);
|
||||
current->stop();
|
||||
|
||||
current.reset();
|
||||
next.reset();
|
||||
|
Reference in New Issue
Block a user