diff options
| -rw-r--r-- | Source/WebCore/bindings/js/ScriptController.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/bindings/js/ScriptController.cpp b/Source/WebCore/bindings/js/ScriptController.cpp index a605e638f..370ddf627 100644 --- a/Source/WebCore/bindings/js/ScriptController.cpp +++ b/Source/WebCore/bindings/js/ScriptController.cpp @@ -82,6 +82,7 @@ ScriptController::~ScriptController() disconnectPlatformScriptObjects(); if (m_cacheableBindingRootObject) { + JSLockHolder lock(JSDOMWindowBase::commonJSGlobalData()); m_cacheableBindingRootObject->invalidate(); m_cacheableBindingRootObject = 0; } |
