mbensi at pleyo.com
Tue Nov 4 13:11:58 PST 2008
yes it's r38104, sorry.
I seen also this in cache :
~Cache(); // Not implemented to make sure nobody accidentally calls delete --
WebCore does not delete singletons.
it's also to make shutdown faster ? this can create a big leak, no ?
Le mardi 04 novembre 2008 22:04:39 David Kilzer, vous avez écrit :
> On Tue, 11/4/08, mario bensi <mbensi at pleyo.com> wrote:
> > I seen in Changeset 3810, you force a leak, it's the
> > same thing for the cache
> > and others parts in webCore, I would understand why you
> > want leak some part of
> > code ?
> Do you mean r38104?
> This change was made to prevent destructors from being called on shutdown,
> both to prevent random crashes (since the order in which the destructors
> are called is non-deterministic) and to make shutdown faster.
> They are "leaks" only in the strictest sense of the term since only one
> instance of them is ever created, and it's held in a static variable.
Join OWB team on freenode IRC, channel #owb
Web-enabler for CE devices
More information about the webkit-dev