Skip to content

Commit

Permalink
fix build correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossmaxx committed Sep 26, 2024
1 parent e8ad49e commit 86d49e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/AudioEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,8 @@ void AudioEngine::removePlayHandle(PlayHandle* ph)
bool removedFromList = false;
// Check m_newPlayHandles first because doing it the other way around
// creates a race condition
for (auto e = m_newPlayHandles.first(); *ePrev = nullptr; e; ePrev = e, e = e->next)
LocklessListElement* e = m_newPlayHandles.first(), *ePrev = nullptr;
while (e)
{
if (e->value == ph)
{
Expand Down

0 comments on commit 86d49e8

Please sign in to comment.