Permalink
Browse files

domain: add message for dispose deprecation

PR-URL: #7053
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
mscdex committed May 29, 2016
1 parent e18a926 commit 3b8ec68a3a4cb014fdc7770bb0fec5248aee2691
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/domain.js
@@ -314,4 +314,5 @@ Domain.prototype.dispose = util.deprecate(function() {
// mark this domain as 'no longer relevant'
// so that it can't be entered or activated.
this._disposed = true;
});
}, 'Domain.dispose is deprecated. Recover from failed I/O actions explicitly ' +
'via error event handlers set on the domain instead.');

0 comments on commit 3b8ec68

Please sign in to comment.