Skip to content

Commit

Permalink
Use nodejs.stream.destroyed symbol (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Dec 20, 2022
1 parent 01346b5 commit 8c9e34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/symbols.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
kClosed: Symbol('closed'),
kNeedDrain: Symbol('need drain'),
kReset: Symbol('reset'),
kDestroyed: Symbol('destroyed'),
kDestroyed: Symbol.for('nodejs.stream.destroyed'),
kMaxHeadersSize: Symbol('max headers size'),
kRunningIdx: Symbol('running index'),
kPendingIdx: Symbol('pending index'),
Expand Down

0 comments on commit 8c9e34e

Please sign in to comment.