Clear transition step interval timer one more time (to make sure it doesn't leak), related to #231
This commit is contained in:
parent
04afa9b813
commit
be575a6622
@ -65,6 +65,7 @@ L.Transition = L.Transition.extend({
|
||||
this.fire('start');
|
||||
|
||||
if (L.Transition.NATIVE) {
|
||||
clearInterval(this._timer);
|
||||
this._timer = setInterval(this._onFakeStep, this.options.fakeStepInterval);
|
||||
} else {
|
||||
this._onTransitionEnd();
|
||||
|
Loading…
Reference in New Issue
Block a user