Closed MattRames closed 6 years ago
When you navigate from a page playing an animation and go back to that page a null reference exception is thrown.
Com.Airbnb.Xamarin.Forms.Lottie: 2.5.1 LottieUWP: 2.5.1
System.NullReferenceException: Object reference not set to an instance of an object. at LottieUWP.LottieDrawable.CanvasControlOnDraw(ICanvasAnimatedControl canvasControl, CanvasAnimatedDrawEventArgs args)
Reproduction project: https://drive.google.com/file/d/184cMHR9icG2NfUvPIwnsKrRDaE6M-D8P/view?usp=sharing
Fixed by c84843ae0b3b67ed1d9e546b0b2141e932bd66cd.
When you navigate from a page playing an animation and go back to that page a null reference exception is thrown.
Com.Airbnb.Xamarin.Forms.Lottie: 2.5.1 LottieUWP: 2.5.1
System.NullReferenceException: Object reference not set to an instance of an object. at LottieUWP.LottieDrawable.CanvasControlOnDraw(ICanvasAnimatedControl canvasControl, CanvasAnimatedDrawEventArgs args)
Reproduction project: https://drive.google.com/file/d/184cMHR9icG2NfUvPIwnsKrRDaE6M-D8P/view?usp=sharing