Skip to content

Use of sandboxed-module breaks asynchronous code. #2

@tolmasky

Description

@tolmasky

If you have code like this:

var t = require("./x");

setTimeout(function()
{
    console.log(t === require("./x"));
}, 1000);

The second require appears to be not sandboxed while the first is. Not sure, but they are certainly different and this results false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions