I'm writing on a video procession system. In this i have a C extension,
which creates ruby objects that encapsulate images. This objects are
passed with some ruby code to an other C extension which shall store
them for later output.
My problem is, that the GC destroys the objects while they are needed in
the future. I've tried to prevent this by calling
on the object and after i'm done with the object
But that seems to be ignorred.
Any hints about this?