diff options
Diffstat (limited to 'src/mongo/db/operation_context.cpp')
-rw-r--r-- | src/mongo/db/operation_context.cpp | 2 |
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(); } } |