-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli-repl): drop nanobus in production usage MONGOSH-1330 (#1366)
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.
- Loading branch information
Showing
3 changed files
with
2 additions
and
78 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters