Skip to content

Commit

Permalink
fix(DmPerformance): fix deadlock if no messages can be played
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed May 1, 2024
1 parent 166b56e commit 45b6149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Performance.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ DmResult DmPerformance_renderPcm(DmPerformance* slf, void* buf, size_t len, DmRe

if (!ok_ctrl && !ok_midi) {
// No more messages to process.
(void) mtx_unlock(&slf->mod_lock);
break;
}

Expand Down

0 comments on commit 45b6149

Please sign in to comment.