Skip to content

Conversation

addaleax
Copy link
Collaborator

@addaleax addaleax commented Dec 1, 2022

nanobus inherently leaks memory, which means that it can make mongosh crash in certain scenarios.

Since we do not actually use the features of nanobus (mostly being able to listen for a generic '*' event), just replace it with the standard EventEmitter to fix this.

nanobus inherently leaks memory, which means that it can make mongosh crash in certain scenarios. Since we do not actually use the features of nanobus (mostly being able to listen for a generic `'*'` event), just replace it with the standard `EventEmitter` to fix this.
Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

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

Nice find!

@addaleax addaleax merged commit afce071 into main Dec 2, 2022
@addaleax addaleax deleted the 1330-dev branch December 2, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants