Skip to content

fix: leak fight proposal#41

Open
qfox wants to merge 1 commit into
masterfrom
qfox.trying-to-fix-leacks
Open

fix: leak fight proposal#41
qfox wants to merge 1 commit into
masterfrom
qfox.trying-to-fix-leacks

Conversation

@qfox

@qfox qfox commented Oct 24, 2018

Copy link
Copy Markdown
Contributor

Closes #37

@Yeti-or Yeti-or left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я так и не понял зачем нужен parent
ты можешь написать тест который будет без него падать ?

Comment thread index.js
let contextKeys;

sandbox.module = new Module(filename || '<anonymous>', module.parent);
sandbox.module = new Module(filename, module.parent);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

если прям нужно оставить parent
давай туда запихнем что-то в духе:
new Module(filename, new Module('', null));
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants