1
Vote

CaptionsPlugin throws NullReferenceException

description

Universal.Xaml.TimedText/CaptionsPlugin.timer_Tick(...) throws NullReferenceException because of a null MediaPlayer. It happens sometimes, after MediaPlayer.Dispose() probably because CaptionPlugin was removed from MediaPlayer.Plugins but not yet collected and the timer event has time to fire.

Proposed solution: OnDeactivate() calls ShutdownTimer().

Regards,
Costin

comments