Skip to content
This repository was archived by the owner on Jul 30, 2026. It is now read-only.
This repository was archived by the owner on Jul 30, 2026. It is now read-only.

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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