Skip to content

Commit

Permalink
Fix deadlock inside BASS library finalization. (#223)
Browse files Browse the repository at this point in the history
* Fix deadlock inside BASS library finalization.

* fixup! Fix deadlock inside BASS library finalization.
  • Loading branch information
MiranDMC authored Oct 5, 2024
1 parent 4dfbfb2 commit a669995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cleo_plugins/Audio/CSoundSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ namespace CLEO

if (initialized)
{
TRACE("Freeing BASS library");
BASS_Free();
//TRACE("Freeing BASS library");
//std::thread(BASS_Free); // causes deadlock with ModLoader
initialized = false;
}
TRACE("SoundSystem finalized");
Expand Down

0 comments on commit a669995

Please sign in to comment.