Skip to content

Commit

Permalink
Use Proxy object instead of Object.observe
Browse files Browse the repository at this point in the history
  • Loading branch information
agsh committed Feb 6, 2017
1 parent 3370069 commit b50f8ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rtsp-ffmpeg.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ function newListener(event) {
}

function removeListener(event) {
console.error('remove listener', this.input, this.listeners(event).length);
if (event === 'data' && this.listeners(event).length === 0) {
this.stop();
}
Expand Down

0 comments on commit b50f8ee

Please sign in to comment.