1
0
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:
Ivan Savenko 2023-01-19 20:19:45 +02:00
parent d0c292e2fd
commit 21c053ba87

View File

@ -369,6 +369,7 @@ void CMusicHandler::release()
boost::mutex::scoped_lock guard(mutex);
Mix_HookMusicFinished(nullptr);
current->stop();
current.reset();
next.reset();