-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lazily add bus event listeners for interface
- Loading branch information
Showing
2 changed files
with
59 additions
and
18 deletions.
There are no files selected for viewing
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
1 comment
on commit bd08f64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these changes have solved my memory leak , if I find other problems or bugs I will create other issues.
the only thing is that the function .off is not supported in oldest node's versions and I had to change it with the "removeListener" function to test it (we are forced an old node version)so if we can substitue it with removeListener i think will be better.
Thank you so much for your help :) I really appreciated it
in node version < 10 the ' .off ' function is not supported .
i think that call " removeListener " function instead of .off would be better , so we can cover node since version v0.1.26