Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Overload eventemitter on method to handle data listeners #269

Closed
wants to merge 1 commit into from

Conversation

mikeseese
Copy link
Contributor

This essentially bypasses the memoryleak warning for data event listeners by increasing the max listeners as needed.

This fixes #267, but I'm not sure if this approach is even a sane one. A better implementation is fixing the issue at the core in web3.js (see #267 for more details).

this essentially bypasses the memoryleak warning for data
event listeners by increasing the max listeners as needed
@davidmurdoch
Copy link
Member

Eh. Just going to drop web3 soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MaxListenersExceededWarning encountered when running with Web3
2 participants