Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

destroy() does not cancel timeouts #950

Closed
wants to merge 1 commit into from
Closed

destroy() does not cancel timeouts #950

wants to merge 1 commit into from

Conversation

sculove
Copy link
Collaborator

@sculove sculove commented Aug 5, 2015

If timer was set and 'destroy' method was called, you could be faced a problem.
resize or fade actions will be called twice.

So I add some codes in destroy task.

  • cancel resizeTimeout
  • cancel fadeTimeout
  • cancel wheelTimout

Reference issue #924

- cancel resizeTimeout
- cancel fadeTimeout
- cancel wheelTimout
@sculove sculove closed this Mar 23, 2016
sculove added a commit that referenced this pull request Mar 28, 2016
aisouard pushed a commit to Mappy/iscroll that referenced this pull request Feb 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant