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

Commit

Permalink
no-op destroy method
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Nov 8, 2011
1 parent 1f9f3fa commit d07161d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/abstract.js
Expand Up @@ -11,6 +11,8 @@ function Abstract () {

inherits(Abstract, Stream)

Abstract.prototype.destroy = function () {}

Abstract.prototype.warn = function (msg, code) {
var me = this
if (!me.listeners("warn")) {
Expand Down

0 comments on commit d07161d

Please sign in to comment.