AVPlayerViewController causing CPU spikes after deallocation

Dear AVKit Engineers,

I see a strange bug in AVKit. Even after the viewcontroller hosting AVPlayerViewController is dismissed, I see CPU spiking to over 100% which is caused by some animation code still running after AVPlayerViewController no more exists ([AVMobileChromelessControlsViewController__animateSliderToTintState:duration:completionHandler:]).

How does this code continue to run even after AVPlayerViewController is no more? And what can I do to fix it?

AVPlayerViewController causing CPU spikes after deallocation
 
 
Q