There are a lot of gotchas to wrapping core IO functions like done
trycatch, long-stack-traces, longjohn and other modules, especially with
EventEmitter. It's easier to get it wrong than it is to get it right.

So, I pulled out trycatch's and made it its own module:
https://github.com/CrabDude/hookit so it could be shared across libraries
looking to do this sort of thing.

Specifically, it contains a lot of fixes for memory leaks and failures to
remove listeners not found in other implementations, and ideally would be
the canonical source shared across looking to do this.

Cheers,
Adam Crabtree

-- 
Better a little with righteousness
       than much gain with injustice.
Proverbs 16:8

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to