Deadbolt - autoreleasing locks for node.js
github.com
github.com
Lets image you have a `callback` variable that you want to pass to some 3rd party code and you ain't sure whether it'll call it or not (or you're aware that unhandled exception may be thrown inside it). If you'll wrap `callback` with `deadbolt.wrap(callback)` and pass it to that function, `callback` will be called with a error if it will become not referenced (see http://en.wikipedia.org/wiki/Garbage_collection_(computer_sc... ) in that 3rd party code.