Files
node/test/fixtures
Myles Borins 1b070e48e0 node_contextify: do not incept debug context
Currently a debug context is created for various calls to util.

If the node debugger is being run the main context is the debug
context. In this case node_contextify was freeing the debug context
and causing everything to explode.

This change moves around the logic and no longer frees the context.

There is a concern about the dangling pointer

The regression test was adapted from code submitted by @3y3 in #4815

Fixes: https://github.com/nodejs/node/issues/4440
Fixes: https://github.com/nodejs/node/issues/4815
Fixes: https://github.com/nodejs/node/issues/4597
Fixes: https://github.com/nodejs/node/issues/4952

PR-URL: https://github.com/nodejs/node/issues/4815

Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2016-02-15 11:30:23 -08:00
..
2010-08-04 15:55:47 -07:00
2015-03-20 18:17:25 +01:00
2010-11-19 13:28:13 -08:00
2010-11-19 13:28:13 -08:00
2010-04-02 17:14:03 -07:00
2012-09-18 10:56:37 +04:00
2012-06-21 14:47:25 -07:00
2014-08-29 00:36:48 +04:00
2010-05-26 18:33:38 -07:00
2012-02-07 23:42:38 +01:00
2010-05-13 12:42:17 -07:00
2010-03-10 21:44:59 -08:00
2010-04-02 17:14:03 -07:00
2011-10-31 17:36:43 +09:00
2010-03-11 22:00:55 -08:00
2010-07-19 10:16:31 -07:00
2013-10-16 09:43:19 -07:00
2013-10-16 09:43:19 -07:00
2013-10-16 09:43:19 -07:00
2010-02-25 11:41:11 -08:00
2010-02-25 11:41:11 -08:00
2010-02-25 11:41:11 -08:00
2012-12-13 17:00:28 -08:00
2010-02-25 11:41:11 -08:00