Skip to content

Conversation

@dnicolson
Copy link

This prevents the following warning when waitForPoweredOnAsync() is called after multiple timeouts. The removeListener call is needed as the once handler is not resolved after a timeout.

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 stateChange listeners added to [Noble]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit

Copy link

@Apollon77 Apollon77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stoprocent stoprocent merged commit 4d45f77 into stoprocent:main Aug 27, 2025
15 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.3.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants