StreetVoice / HysteriaPlayer

Objective-C audio player, sitting on top of AVPlayer
Other
583 stars 99 forks source link

notificationPost interuption crash #120

Closed devluyy closed 8 years ago

devluyy commented 8 years ago

image

saiday commented 8 years ago

Hi @devluyy, can you attach full stack track?

Thanks

devluyy commented 8 years ago

_b76 49ylbucsawul12x1fg

devluyy commented 8 years ago

@saiday i find this obeserver don't remove in function AVAudioSessionNotification

saiday commented 8 years ago

@devluyy Yes, you're right. I found it too. gotta fix it.

Hence, this issue could happen when you deprecatePlayer(), have you ever use deprecatePlayer() in your codebase?

devluyy commented 8 years ago

@saiday yes! i use deprecatePlayer() in viewWillDisappear()

devluyy commented 8 years ago

@saiday cool !

saiday commented 8 years ago

If you're using CocoaPods, a new version 2.1.9 is what you need.

Thank you again.