[Webkit-unassigned] [Bug 54130] New: Request adding a callback on JSClassRef release
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 9 12:13:17 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=54130
Summary: Request adding a callback on JSClassRef release
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: p.balzarek at googlemail.com
CC: oliver at apple.com
At the moment there is no way to tell when a JSClassRef will be destroyed, so resources acquired for the creation of a JSClassRef can't be released in a timely manner. This problem arises for example when calling from Haskell into JavaScriptCore as the creation of function pointers from Haskell functions allocates memory that needs to be freed explicitly at the end of the pointers lifetime.
I therefore request a way to attach a callback to a JSClassRef to be called when it is finalized.
--
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