Skip to content

async.debounce.cancel() results in further calls not being fired #3781

Description

@abettadapur

Bug Report

  • Package version(s): Latest
  • Browser and OS versions: All

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? (Yes, No) Yes

Requested priority: (Blocking, High, Normal, Low) Normal

Products/sites affected: (if applicable)

Describe the issue:

When calling cancel on a debounced function, future calls to the debounced function are never queued.
This is because timeoutId is not cleared on the cancel call

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions