crash_info_entry_0: CoreUI: deallocating _CUIInternalLinkRendition … Assets.car

I have a player and the crash happened when I was force removing a time observer from the player. But the timeObserverToken is nil.

The Fix: Just unwrap token with if let before using!

func endPlayerObserving () {
   //BAD CODING, Don't ever force unwrap optional objects
    player?.removeTimeObserver(timeObserverToken!)
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)