joyent/node — pull request #2712 by laverdet (2012-02-08 00:18:53+00:00)
Title: Add Locker with unclean termination issue fixed

11d1eca9 added a v8 locker to ease development of 3rd party threading
extensions but it created a condition which would cause node to exit
uncleanly while in debug mode; it was reverted in 7543c38d.

The problem here is that the Locker was being disposed after V8 was torn
down. Adding some scoping fixes that.