Skip to content

Commit be7179e

Browse files
jdboolstechyo
authored andcommitted
Fix reflection thread stopping when player is freed
1 parent bd6299c commit be7179e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ void SteamAudioServer::run_refl_sim() {
255255
if (local_states_have_changed.load()) {
256256
local_states_have_changed.store(false);
257257
is_refl_thread_processing.store(false);
258-
return;
258+
continue;
259259
}
260260
SteamAudio::log(SteamAudio::log_debug, "running reflection sim");
261261
iplSimulatorRunReflections(global_state.sim);

0 commit comments

Comments
 (0)