Skip to content

fix: endless loop#20

Merged
sindresorhus merged 6 commits into
sindresorhus:mainfrom
SimonSiefke:fix/loop
Oct 2, 2025
Merged

fix: endless loop#20
sindresorhus merged 6 commits into
sindresorhus:mainfrom
SimonSiefke:fix/loop

Conversation

@SimonSiefke
Copy link
Copy Markdown
Contributor

fixes #19

This removes all event listeners on cleanup, so that the cleanup function is called once at most and no endless loop can occur.

@sindresorhus sindresorhus merged commit a079903 into sindresorhus:main Oct 2, 2025
2 checks passed
@SimonSiefke
Copy link
Copy Markdown
Contributor Author

That was quick. Thanks! :)

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.

Endless loop on error

2 participants