mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 00:30:31 +00:00
Fixed potential race condition: ensure the queue is disposed of synchronously because otherwise there'll be a potential dangling reference to self.
This commit is contained in:
parent
4f5f191cd6
commit
1d03793f22
@ -104,7 +104,7 @@ static void audioOutputCallback(
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
if(_audioQueue) AudioQueueDispose(_audioQueue, NO);
|
||||
if(_audioQueue) AudioQueueDispose(_audioQueue, YES);
|
||||
}
|
||||
|
||||
#pragma mark - Audio enqueuer
|
||||
|
Loading…
x
Reference in New Issue
Block a user