Index: Source/bindings/v8/DebuggerScript.js |
diff --git a/Source/bindings/v8/DebuggerScript.js b/Source/bindings/v8/DebuggerScript.js |
index 1c29105e9bc2ce1b561afe4efb212adcc3c1862b..e54115435d4d4d4c6f03b53215342cc16edfd284 100644 |
--- a/Source/bindings/v8/DebuggerScript.js |
+++ b/Source/bindings/v8/DebuggerScript.js |
@@ -502,5 +502,8 @@ DebuggerScript._buildScopeObject = function(scopeType, scopeObject) |
return result; |
} |
+// We never resolve Mirror by its handle so to avoid memory leaks caused by Mirrors in the cache we disable it. |
+ToggleMirrorCache(false); |
+ |
return DebuggerScript; |
})(); |