Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

clearInterval fails if button press happens too quickly in Spaceship2.js #139

@grgustaf

Description

@grgustaf

If you tap and release the pushbutton in this sample very quickly, you can get the message:native_clear_interval_handler: timer not found

If you do it enough times, you can get to where you have two ore more of the timer functions running at once and competing with each other for control of the LEDs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions