[webkit-help] Memory management and the C API
demallien at mac.com
Thu Apr 1 06:04:06 PDT 2010
For example, when I call JSStringCreateWithUTF8CString(), do I need to do a JSStringRetain() on the resulting string object? And if not, does that mean that I have to do an explicit JSStringRelease()? Are these objects subject to garbage collection at all, or do they need to be explicitly retained/released? Or does the act of doing a retain disable garbage collection on an object? If they are subject to garbage collection, when does the garbage collection run? Is it in a separate thread?
More information about the webkit-help