]> git.cworth.org Git - notmuch/commitdiff
ruby: enable garbage collection using talloc
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 17 May 2021 19:39:15 +0000 (14:39 -0500)
committerDavid Bremner <david@tethera.net>
Sun, 18 Jul 2021 20:08:53 +0000 (17:08 -0300)
We basically steal all the objects from their notmuch parents, therefore
they are completely under Ruby's gc control.

The order at which these objects are freed does not matter any more,
because destroying the database does not destroy all the children
objects, since they belong to Ruby now.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>

No differences found