Skip to content

debugger: guard against call from non-node context

Rodrigo Muino Tomonari requested to merge github/fork/bnoordhuis/fix4261 into master

Fix a segmentation fault when the debug message handler was called from a context without an associated node::Environment.

Fixes: https://github.com/nodejs/node/issues/4261 Fixes: https://github.com/nodejs/node/issues/4322

R=@indutny?

CI: https://ci.nodejs.org/job/node-test-pull-request/1017/

Merge request reports

Loading