Skip to content

Commit 8a7b958

Browse files
authored
Remove unnecessary assertion (#636)
1 parent 93f6c95 commit 8a7b958

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/CSFBAudioEngine/Player/AudioPlayer.mm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ void AVAudioSessionInterruptionNotificationCallback(CFNotificationCenterRef cent
125125
// Register for audio session interruption notifications
126126
CFNotificationCenterAddObserver(notificationCenter, this, AVAudioSessionInterruptionNotificationCallback, (__bridge CFStringRef)AVAudioSessionInterruptionNotification, (__bridge void *)[AVAudioSession sharedInstance], CFNotificationSuspensionBehaviorDeliverImmediately);
127127
#endif /* TARGET_OS_IPHONE */
128-
129-
#if DEBUG
130-
assert(playerNode_ != nil);
131-
#endif /* DEBUG */
132128
}
133129

134130
SFB::AudioPlayer::~AudioPlayer() noexcept

0 commit comments

Comments
 (0)