summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_entry_point_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/service_entry_point_common.cpp')
-rw-r--r--src/mongo/db/service_entry_point_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/service_entry_point_common.cpp b/src/mongo/db/service_entry_point_common.cpp
index e9519e89b80..2142a5b7faa 100644
--- a/src/mongo/db/service_entry_point_common.cpp
+++ b/src/mongo/db/service_entry_point_common.cpp
@@ -1108,7 +1108,7 @@ DbResponse receivedGetMore(OperationContext* opCtx,
//
// If killing the cursor fails, ignore the error and don't try again. The cursor should
// be reaped by the client cursor timeout thread.
- CursorManager::getGlobalCursorManager()
+ CursorManager::get(opCtx)
->killCursor(opCtx, cursorid, false /* shouldAudit */)
.ignore();
}