We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3a8d96 commit 66a5a48Copy full SHA for 66a5a48
LFLiveKit/capture/LFAudioCapture.m
@@ -98,7 +98,7 @@ - (instancetype)initWithAudioConfiguration:(LFLiveAudioConfiguration *)configura
98
- (void)dealloc {
99
[[NSNotificationCenter defaultCenter] removeObserver:self];
100
101
- dispatch_async(self.taskQueue, ^{
+ dispatch_sync(self.taskQueue, ^{
102
if (self.componetInstance) {
103
self.isRunning = NO;
104
AudioOutputUnitStop(self.componetInstance);
0 commit comments