1
0
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:
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();