Update index.js
This commit is contained in:
parent
6b78cfbfd8
commit
cf9aaae4f6
@ -890,7 +890,7 @@ AddressService.prototype._streamAddressSummary = function(address, options, stre
|
|||||||
|
|
||||||
streamer(err, tx);
|
streamer(err, tx);
|
||||||
|
|
||||||
if(err || options.flag_stop){
|
if((err || options.flag_stop) && queue.idle()){
|
||||||
q.kill();
|
q.kill();
|
||||||
|
|
||||||
return callback();
|
return callback();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user