summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/implscope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/implscope.h')
-rw-r--r--src/mongo/scripting/mozjs/implscope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/implscope.h b/src/mongo/scripting/mozjs/implscope.h
index 2fe02d1af43..9ae68ac3366 100644
--- a/src/mongo/scripting/mozjs/implscope.h
+++ b/src/mongo/scripting/mozjs/implscope.h
@@ -411,8 +411,8 @@ private:
JS::HandleObject _global;
std::vector<JS::PersistentRootedValue> _funcs;
InternedStringTable _internedStrings;
- std::atomic<bool> _pendingKill;
- std::mutex _sleepMutex;
+ Status _killStatus;
+ mutable std::mutex _mutex;
std::condition_variable _sleepCondition;
std::string _error;
unsigned int _opId; // op id for this scope