[Webkit-unassigned] [Bug 27397] V8IsolatedWorld keeps a handle to a disposed context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 17 17:08:28 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27397





--- Comment #3 from Matt Perry <mpcomplete at chromium.org>  2009-07-17 17:08:28 PDT ---
(In reply to comment #1)
> Where is |context| made weak?  |m_context| is made weak, but isn't that a
> separate handle? 

My understanding is that m_context and context share the reference to the
object.  If you want m_context to be a different reference, you need to do:
  m_context = v8::Persistent<v8::Context>::New(context);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list