Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Aug 8, 2023
1 parent f1c76db commit 54398d6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/CAudio/WorkerThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,8 @@ class WorkerThread {
#define DISPATCH_TIME_FOREVER (~0ull)*/

intptr_t wait = dispatch_semaphore_wait(prod, DISPATCH_TIME_FOREVER);

bool isRunning = run.load();

if (!isRunning) {

if (!run.load()) {
break;
}

Expand Down

0 comments on commit 54398d6

Please sign in to comment.