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

Process kill fix #7

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
do not crash chrome intentionally
nightwing committed Jun 18, 2013
commit 5555e88847ea09d1132009cade9eb36da2aaa0ce
5 changes: 3 additions & 2 deletions consumer.js
Original file line number Diff line number Diff line change
@@ -127,8 +127,9 @@ function Consumer() {
});

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

Choose a reason for hiding this comment

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

This was annoying me sometimes with collab, good that you handled it here

this.emit("error", err);
})
// just adding an empty listener so that events-amd doesn't throw
console.error(err);
});

var nextStreamID = 1;
function storeStream(stream) {