You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using js-ipfsd-ctl in a testing suite, which is depending on this project, which in turn depends on mortice for RW control. During testing I got this message EventEmitter memory leak detected. 11 listeners added I found that this was due to that cluster.on('on', message) was never cleanup correctly when closing.
I am not sure if I am doing anything particularly wrong with my configs, but I this seems to be an issue when spawning and closing many controllers in sequence.
How to reproduce,
Use "ipfsd-ctl": "^12.2.2" and spawn and close many proc-js (disposable = true, test = true) instances until the EventEmitter memory leak message appear
The text was updated successfully, but these errors were encountered:
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:
"Priority" labels will show how urgent this is for the team.
"Status" labels will show if this is ready to be worked on, blocked, or in progress.
"Need" labels will indicate if additional input or analysis is required.
Hi!
I am using js-ipfsd-ctl in a testing suite, which is depending on this project, which in turn depends on
mortice
for RW control. During testing I got this messageEventEmitter memory leak detected. 11 listeners added
I found that this was due to thatcluster.on('on', message)
was never cleanup correctly when closing.Here is the diff that solved my problem:
I am not sure if I am doing anything particularly wrong with my configs, but I this seems to be an issue when spawning and closing many controllers in sequence.
How to reproduce,
Use "ipfsd-ctl": "^12.2.2" and spawn and close many proc-js (disposable = true, test = true) instances until the EventEmitter memory leak message appear
The text was updated successfully, but these errors were encountered: