8000 canvasball - setInterval is still working after going back to main page · Issue #8 · codefoster/codeshow · GitHub
[go: up one dir, main page]

Skip to content
8000

canvasball - setInterval is still working after going back to main page #8

@bilberry71

Description

@bilberry71

There is no unload event that would stop running calculation by clearInterval(interval); .
When you set breakpoint you will see that it runs continuously. When you go back and forth then there will be two instances calculating position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0