From 1875792bdc435c695aca1b6b57be7486e7df70c5 Mon Sep 17 00:00:00 2001 From: Jonathan Reams Date: Thu, 25 Aug 2016 15:58:25 -0400 Subject: SERVER-25764 Interrupt javascript periodically. --- src/mongo/scripting/mozjs/proxyscope.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mongo/scripting/mozjs/proxyscope.cpp') 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 * -- cgit v1.2.1