New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domain preserve error since release 2.9.31 #701

Closed
rain1017 opened this Issue Jul 14, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@rain1017

rain1017 commented Jul 14, 2015

Test code. error since release 2.9.31

var P = require('bluebird');
var domain = require('domain');

P.each([1], function(){
    var d = domain.create();
    d.run(function(){
        P.each([1], function(){
            if(!process.domain){
                throw new Error('domain error!');
            }
        });
    });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment