[ruby-core:65055] Re: [ruby-trunk - Bug #10244] [Third Party's Issue] Garbage Collector not being triggered

From: Nobuyoshi Nakada <nobu@...>
Date: 2014-09-16 03:09:09 UTC
List: ruby-core #65055
On 2014/09/16 11:35, Michel Boaventura wrote:
>>Ruby doesn't know about memories >`malloc`ed inside gdk library, so they >can't trigger GC.
> 
> But if ruby doesn't know about this allocations, how it can collect this memory if asked manually?

The object itself knows how to release the resources it acquired.

In This Thread

Prev Next