fix incorrect handling of closure

这个提交包含在:
Dali Zheng 2017-08-19 16:37:47 -06:00
父节点 ce9bef3b5d
当前提交 453f0bbbc9

查看文件

@ -35,10 +35,11 @@ module.exports.create = function (opts) {
return;
}
var err = new Error("___MESSAGE___");
process.send({ type: 'LE_REQUEST', domain: domain, options: results.options, certs: results.certs });
process.on('message', function (msg) {
var err = new Error("___MESSAGE___");
log(opts.debug, 'Message from master');
log(opts.debug, msg);