Re: Finalizers are dangerous
Hi Bill, We close the bridges because we leak memory if we dont. Imho leaking memory should be avoided where possible. In this case, its avoidable, so I don't think we should do it. If you really want control and are happy to leak memory, just don't call mama_close(), or we can look at that configuration option I suggested (though it will need to avoid freeing the bridges too - not just avoid dlclosing). In terms of the actual fix, as I said, I haven't gotten around to it yet. I know how to fix it, I just haven't had the chance, nor have any volunteers come forward to pick it up. Cheers, Frank
On 28 Dec 2017 15:49, "Bill Torpey" <wallstprog@...> wrote:
|
|