Calling endGeneratingPlaybackNotifications causes crash if beginGeneratingPlaybackNotifications has not been called

I get a consistent crash with iOS 11.3 beta 3 if calling endGeneratingPlaybackNotifications before calling beginGeneratingplaybackNotifications. Although it's likely bad form to call 'end' without a 'begin', I don't think it should result in a crash. Anyone else seeing this?


I've submitted a bug #37958196 but wanted to share here as well.




Replies

For anyone reading this, I received word from the dev team that the crash I'm seeing is expected behavior. So if you are seeing a crash when calling endGeneratingPlaybackNotifications, be sure you're calling beginGenerating... at some point in your code eariler.