vm: use MakeWeak to fix leaking contexts
authorDomenic Denicola <domenic@domenicdenicola.com>
Sat, 24 Aug 2013 01:33:16 +0000 (21:33 -0400)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 28 Aug 2013 10:11:09 +0000 (12:11 +0200)
commita3bf3d10ef4b373870c6bb475f8fd5b6ede953cc
treee9da4343d919c4d3da1233e48ebfe563341d71d0
parenta54f65ce75d56f3d0da670c127e79f048b6a78ae
vm: use MakeWeak to fix leaking contexts

This is always something you should do when using `SetHiddenValue`,
apparently. Fixes #6115. Thanks @tjfontaine for the tips.
src/node_contextify.cc