From 65f2bf7cea5f1c58c06869d874c2b9f6ec500900 Mon Sep 17 00:00:00 2001 From: Matt Broadstone Date: Wed, 4 Apr 2018 10:34:18 -0400 Subject: [PATCH] fix(2.6-protocol): kill cursor callback is called by pool now --- lib/wireprotocol/2_6_support.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/wireprotocol/2_6_support.js b/lib/wireprotocol/2_6_support.js index d3edad613..139ecb359 100644 --- a/lib/wireprotocol/2_6_support.js +++ b/lib/wireprotocol/2_6_support.js @@ -111,9 +111,6 @@ WireProtocol.prototype.killCursor = function(bson, ns, cursorState, pool, callba } } } - - // Callback - if (typeof callback === 'function') callback(null, null); }; WireProtocol.prototype.getMore = function(