Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

PTY support #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

PTY support #4

wants to merge 3 commits into from

Conversation

javruben
Copy link

@@ -124,6 +125,10 @@ function Consumer() {
proxyApi.emit("error", err);
});
});

this.on("error", function(err){
this.emit("error", err);
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this redundant ?
That's listening and re-emitting the error again

Choose a reason for hiding this comment

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

Doesn't this change meaning here? Maybe it's called with an explicit context.

Choose a reason for hiding this comment

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

no events-amd applies handlers to the same this https://github.com/c9/vfs-socket/blob/master/events-amd.js#L123.
and this also crashes new versions of chrome, where stack limit is 20000

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants