Skip to content
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
Closed

domain preserve error since release 2.9.31 #701

rain1017 opened this issue Jul 14, 2015 · 0 comments

Comments

@rain1017
Copy link

@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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.