Closed yorkie closed 9 years ago
See the title of this PR, I did:
.fire()
this call removeListener() to our onData/onNewListener functions for user, and if user has a specific call to enableMouse, it would call disableMouse().
removeListener()
onData
onNewListener
enableMouse
disableMouse()
for example: user don't need write this:
process.on('exit', function() { keypress.disableMouse(); });
All what I did just fix some memory leaks on EventEmitter. PS: This module is very awesome, thank you so much :)
EventEmitter
ping @TooTallNate, LGTY?
still ping @TooTallNate, this may be important for me, thanks
Sorry, I have to close this one because I'm in a routine to clean up these still opened and dead pr.
See the title of this PR, I did:
1. add
.fire()
this call
removeListener()
to ouronData
/onNewListener
functions for user, and if user has a specific call toenableMouse
, it would calldisableMouse()
.2. remove some unnecessary calls at user-land
for example: user don't need write this:
All what I did just fix some memory leaks on
EventEmitter
. PS: This module is very awesome, thank you so much :)