On Fri, Apr 30, 2021 at 5:14 PM Felipe Contreras
<[email protected]> wrote:

> I understand why Ali Polatel did commit c7893408 (ruby: Kill garbage
> collection related cruft., 2010-05-26); because the order of the object
> destruction cannot be ensured in Ruby, however, there's ways to
> workaround that.
>
>  1. We can steal the object
>  2. We can increase the reference count
>  3. We can add a second parent

I attempted all options, and none of these worked in practice, except #1.

I have the patches ready, but first they need the cleanups in [1].

Any feedback would be appreciated.

Cheers.

[1] id:[email protected]

-- 
Felipe Contreras
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to