Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
zlib: name every function
Ref: #8913
  • Loading branch information
solebox committed Nov 2, 2016
commit 0aade16fbe4a3c24ac3c842567cd34b6a96404a6
2 changes: 1 addition & 1 deletion lib/zlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function Zlib(opts, mode) {

var self = this;
this._hadError = false;
this._handle.onerror = (message, errno) => {
this._handle.onerror = function onErrorHandler(message, errno) {
// there is no way to cleanly recover.
// continuing only obscures problems.
_close(self);
Expand Down