[Vala] Compact classes in HashTable



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.

What can i do? Is Gee handling this better?

Thanks,

:M:




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]