[webkit-dev] [WK2] WebContext destructor is never triggered on normal exit

Sam Weinig weinig at apple.com
Sat Aug 25 16:35:58 PDT 2012


I'm not clear on what you mean.  A client of WebKit2 release their WKContextRef pointer from atexit() if they wanted to (or in whatever other termination routines they already have), but its not clear to me why the framework should do it for them.  We don't do this for any other objects.

-Sam

On Aug 24, 2012, at 7:15 PM, Kangil Han <kangil.han at samsung.com> wrote:

> Hi,
>  
> I’ve found WebContext destructor is never triggered on normal exit in WK2.
>  
> This happens because only IPC message from WebProcess could terminate it but won’t do that in this case.
> One possibility for doing this is to create a flow of termination from UIProcess on exit.
>  
> But, before starting investigation, I would like to ask your opinion.
>  
> kangil
>  
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120825/52906d02/attachment.html>


More information about the webkit-dev mailing list