Skip to content

Add clearTimeout to allowed globals for component execution - #1554

Merged
ricardo-devis-agullo merged 1 commit into
masterfrom
add-clearTimeout-to-globals
Aug 19, 2026
Merged

ricardo-devis-agullo merged 1 commit into
masterfrom
add-clearTimeout-to-globals

Conversation

@ricardo-devis-agullo

Copy link
Copy Markdown
Collaborator

Summary

  • Adds clearTimeout to the list of allowed globals in the component execution context
  • Complements the existing setTimeout global
  • Allows components to properly manage timers by clearing them when needed

Test plan

  • Change follows existing pattern for timer-related globals (setTimeout)
  • Consistent with other globals like AbortController, fetch, etc.
  • No breaking changes - only adds functionality

Generated with Devin

This adds clearTimeout to the list of allowed globals in the component execution context, complementing the existing setTimeout global. This allows components to properly manage timers by clearing them when needed.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ricardo-devis-agullo
ricardo-devis-agullo merged commit f5c6d2a into master Aug 19, 2026
3 checks passed
@ricardo-devis-agullo
ricardo-devis-agullo deleted the add-clearTimeout-to-globals branch August 19, 2026 14:47
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

Successfully merging this pull request may close these issues.

1 participant