summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/operation_context.cpp')
-rw-r--r--src/mongo/db/operation_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/operation_context.cpp b/src/mongo/db/operation_context.cpp
index d5decb651d3..c09b342d1d1 100644
--- a/src/mongo/db/operation_context.cpp
+++ b/src/mongo/db/operation_context.cpp
@@ -366,7 +366,7 @@ void OperationContext::markKilled(ErrorCodes::Error killCode) {
// If we have a baton, we need to wake it up. The baton itself will check for interruption
if (_baton) {
- _baton->schedule([] {});
+ _baton->notify();
}
}