Re: Finalizers are dangerous
toggle quoted messageShow quoted text
I have been quite receptive to your concerns - just not your proposed solution which I think is too coarse.
Checking if something exists before trying to access it within a framework is far from a hack - it's simply defensive code. mamaInternal_findPayload is already used in MAMA C++ - this is a solvable problem.
I've clearly acknowledged that it's a problem. I'm not sure what makes you think that I think that it's not. The ticket is still open and i'm suggesting solutions including one which will do exactly what you want based on a configuration option rather than forcing it to be the only option when C developers (for example) would have no need for it whatsoever.
The other is an attempt to solve the problem in a defensive way which means that application developers don't have to give special consideration to this use case when writing their applications.
On Thu, Dec 28, 2017 at 5:58 PM, Bill Torpey <wallstprog@...> wrote: