Skip to content

Commit

Permalink
Fixed regression with querystream() in Node 4 & 6
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbj committed Feb 15, 2018
1 parent 67f1172 commit 04ea440
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change Log

## node-oracledb v2.1.1 (DD Mon YYYY)
## node-oracledb v2.1.1 (16 Feb 2018)

Fixed regression with querystream() in Node 4 & 6.

## node-oracledb v2.1.0 (15 Feb 2018)

Expand Down
2 changes: 1 addition & 1 deletion lib/querystream.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function QueryStream(resultSet, oracledb) {
// Using setImmediate to ensure that end event handlers are processed
// before the destroy logic is invoked.
setImmediate(function() {
self.destroy();
self._destroy(null, function() {});
});
});
}
Expand Down

0 comments on commit 04ea440

Please sign in to comment.