Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to properly destroy a running flipclock instance? #407

Open
tsummerall opened this issue May 12, 2020 · 2 comments
Open

How to properly destroy a running flipclock instance? #407

tsummerall opened this issue May 12, 2020 · 2 comments

Comments

@tsummerall
Copy link

I have a use case where I want to allow users to create and destroy multiple flipclocks on a page.

Is there an approved way to unmount a running flipclock, stopping the timeout functions and triggering whatever other garbage collection is necessary?

@Dror-Bar
Copy link

Dror-Bar commented Sep 7, 2020

I would also like to know.

@tbone849
Copy link

There is a stop() function associated with each timer instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants