Ticket #3439 (new bug)
Tween no stopping
|Reported by:||janise||Owned by:|
I'm doing map resizing and panning simultaneously, which creates some kind of conflict when during the execution of Tween.start, Tween stop is executed (in my case it was while running the Tween.start callback).
Thus the "playing" is set to false even before "start" has initiated the playing with setInterval.
So, the playing will be never stopped, because "playing" is already false.
I have three quick solutions in mind: 1) Set the playing = true also at the end of "Tween.start" 2) Check the playing status before setting the play interval at the end of "Tween.start" 3) Abort the Tween.stop only if !playing and !interval, not just !playing.