Fixed regression with querystream() in Node 4 & 6

This commit is contained in:
Christopher Jones 2018-02-16 08:50:18 +11:00
parent 67f1172e70
commit 04ea440e0a
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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() {});
});
});
}