Re: [Vala] Compact classes in HashTable
- From: Yu Feng <rainwoodman gmail com>
- To: Michael 'Mickey' Lauer <mickey vanille-media de>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Compact classes in HashTable
- Date: Wed, 27 May 2009 00:47:23 -0400
On Wed, 2009-05-27 at 02:13 +0200, Michael 'Mickey' Lauer wrote:
I just found the reason why my programs are leaking memory like there's no
tomorrow...
I have been stuffing compact classes in HashTables, which -- as I know now -- do
not destroy the things they contain. Fun.
I read about HashTable<>.full, but this won't help in my case, since I can't
seem to access the respective free function from Vala.
One workaround is to declare the corresponding free function generated
by vala as an external static member of the compact class.
What can i do? Is Gee handling this better?
Yes.
- Yu
Thanks,
:M:
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]