Commit 44fd9c68 authored by ggaren's avatar ggaren
Browse files

Added an assert to help catch a bug. Hopefully someone will hit it!

        
        * bindings/js/kjs_proxy.cpp:
        (WebCore::KJSProxy::~KJSProxy):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6945702d
2007-03-15 Geoffrey Garen <ggaren@apple.com>
Added an assert to help catch a bug. Hopefully someone will hit it!
* bindings/js/kjs_proxy.cpp:
(WebCore::KJSProxy::~KJSProxy):
2007-03-14 Oliver Hunt <oliver@apple.com>
 
Reviewed by Adele.
......
......@@ -46,6 +46,9 @@ KJSProxy::KJSProxy(Frame* frame)
KJSProxy::~KJSProxy()
{
// Check for <rdar://problem/4876466>. In theory, no JS should be executing
// in our interpreter.
ASSERT(!m_script->context());
m_script = 0;
// It's likely that destroying the interpreter has created a lot of garbage.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment