diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2016-08-25 15:58:25 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2016-08-29 17:15:34 -0400 |
commit | 1875792bdc435c695aca1b6b57be7486e7df70c5 (patch) | |
tree | 5251a72001f194e0599ceeb7d9bf4208f6c54b70 /src/mongo/scripting/mozjs/proxyscope.cpp | |
parent | bdf345a78764d2552373b5f938ac9aa6be5346b9 (diff) | |
download | mongo-1875792bdc435c695aca1b6b57be7486e7df70c5.tar.gz |
SERVER-25764 Interrupt javascript periodically.
Diffstat (limited to 'src/mongo/scripting/mozjs/proxyscope.cpp')
-rw-r--r-- | src/mongo/scripting/mozjs/proxyscope.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/scripting/mozjs/proxyscope.cpp b/src/mongo/scripting/mozjs/proxyscope.cpp index d5233f8379d..cf41e84091c 100644 --- a/src/mongo/scripting/mozjs/proxyscope.cpp +++ b/src/mongo/scripting/mozjs/proxyscope.cpp @@ -245,6 +245,10 @@ void MozJSProxyScope::kill() { _implScope->kill(); } +void MozJSProxyScope::interrupt() { + _implScope->interrupt(); +} + /** * Invokes a function on the implementation thread * |