[Issue 2757] resource management in a timely manner

Sean Kelly sean at invisibleduck.org
Thu Apr 2 20:01:58 PDT 2009


d-bugmail at puremagic.com wrote:
> 
> ------- Comment #2 from maxmo at pochta.ru  2009-04-02 07:50 -------
> This guy wants gc to free "unmanaged" resources each 10 seconds, because if gc
> objects, wrapping those resources, don't occupy much space, gc won't bother to
> collect garbage.

The I suggest creating a thread that calls GC.collect() and then sleeps 
for ten seconds in a loop.


More information about the Digitalmars-d-bugs mailing list