diff options
Diffstat (limited to 'src/mongo/db/clientcursor.cpp')
-rw-r--r-- | src/mongo/db/clientcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp index c2f5c487d97..5dc6196b904 100644 --- a/src/mongo/db/clientcursor.cpp +++ b/src/mongo/db/clientcursor.cpp @@ -266,7 +266,7 @@ public: void run() { Client::initThread("clientcursormon"); Timer t; - while (!inShutdown()) { + while (!globalInShutdownDeprecated()) { { const ServiceContext::UniqueOperationContext txnPtr = cc().makeOperationContext(); OperationContext& txn = *txnPtr; |