[Webkit-unassigned] [Bug 61316] Crash in deallocateNPObject when reloading yahoo.com webarchive in WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 16:05:27 PDT 2011


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





--- Comment #2 from Adam Roben (:aroben) <aroben at apple.com>  2011-05-23 16:05:27 PST ---
Oliver suggests:

<olliej> aroben: i think you want to use a finalizer on the weakgcmap to remove entries from the corresponding map
<olliej> aroben: switch to a HashMap<..., Weak<JSNPObject> >
<olliej> aroben: and make the NPRuntimeObjectMap a WeakHandleOwner
<olliej> aroben: give it a finalizer that removes the objects being finalized from the m_npJSObject map

-- 
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