[Webkit-unassigned] [Bug 27980] Give an ability to WebKit to free statically allocated pointers before quit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 10:57:35 PDT 2009


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





--- Comment #34 from Yong Li <yong.li at torchmobile.com>  2009-09-04 10:57:34 PDT ---
(In reply to comment #33)
> (In reply to comment #32)
> > One case is that webkit is used as a dll, and the dll can be loaded and
> > unloaded multiple times.
> 
> Is there someone who wants to use WebKit this way? 

Yes. for example, webkit is used to render html page in other applications,
like a COM object provider, or other ways.

> Is the global variable issue the only issue preventing this?
> I think the project to make it so you can load and unload WebKit multiple times
> is a pretty big project. And we should not do it unless we have to.

There may be other resources to consider, but those static global pointers are
hard to be explicitly freed outside of WebCore. Loading/unloading webkit dll
multiple times is fine except the leaks.

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