Check video widget is mounted on call to setState (#18467)
When setState() calls occur asynchronously, it's possible that the Futures on which they're waiting don't complete until the widget is offscreen. To avoid this, we check the widget is mounted before calling setState().
C
Chris Bracken committed
03b5b1c0bd5716790f8e27b64619d8063d8d9655
Parent: ab6df25
Committed by xster <xiao@xster.net>
on 6/14/2018, 3:51:53 AM