[Development] Backporting the "stop unloading plugins" change to 5.6
Marc Mutz
marc.mutz at kdab.com
Mon Oct 17 11:23:29 CEST 2016
On Monday 17 October 2016 11:12:23 Edward Welbourne wrote:
> Liang Jian said:
> > I would not to say "still reachable" simply means the allocation is
> >
> > not leaked.
>
> Whether you call it a leak or not is just a matter of labelling; what
> matters is resource use. Does it increase without limit ? If it
> doesn't, I'm not too fussed whether you call it a leak: it would, of
> course, be nice to use less of any resource, but a bounded amount of
> one-off resource use (that exit() releases) isn't a big deal (unless
> it's a very big allocation).
Please don't equate 'resource' with 'memory'. Memory is just one of many
resources a program may have acquired, and the _only_ resource which does not
need to be released at program exit.
Thanks,
Marc
--
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts
More information about the Development
mailing list