[webkit-dev] how to destroy JSObjescts?
Iulian
iliescu.iulian at gmail.com
Tue Nov 25 08:05:20 PST 2008
I create several JSObjects like this:
js_object= JSObjectMakeConstructor(context, object_jsclass,
Object_Constructor);
globalObject = JSContextGetGlobalObject(context);
jsstr = JSStringCreateWithUTF8CString("MyObject");
JSObjectSetProperty(context, globalObject, jsstr, js_object,
kJSPropertyAttributeNone, NULL);
>From JavaScript i have: "MyObject obj= new MyObject();"
The problem is that the objects are never destroyed.
What can i do to release all these objects?
--
View this message in context: http://www.nabble.com/how-to-destroy-JSObjescts--tp20684186p20684186.html
Sent from the Webkit mailing list archive at Nabble.com.
More information about the webkit-dev
mailing list