Cancel the timer in beforedestroyed
:
The reason is that instead of simply resize
after each redraw, a component is re-instantiated. Due to the independence of Data
, the timer in the new component = null
, while the timer
in the old component always exists and has not been destroyed. At this time, the seals
instance has been destroyed, so there will be a warning that the seals instance has been destroyed