[Webkit-unassigned] [Bug 106056] Objective-C objects that are passed to JavaScript leak (until the JSContext is destroyed)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 10 12:41:56 PST 2013


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





--- Comment #1 from Geoffrey Garen <ggaren at apple.com>  2013-01-10 12:43:48 PST ---
For now, let's do this:

    (1) JSValue is a strong reference to JSContext

    (2) JSContext holds a WeakGCMap keyed on raw Objective-C pointer, whose value is the JavaScript wrapper. Wrapper creation runs through this 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