On 03/08/2012 12:30 PM, Luca Bruno wrote:
> On Thu, Mar 8, 2012 at 7:03 AM, Derek Dai <daide...@gmail.com> wrote:
>
>> Hi,
>>
>> In Vala, if I allocate resource in static construct block, where can I free
>> it? Thanks.
>>
> static ~Foo () { }
>
Hi,

I'm very interested about that. But when I tried that solution, valac
wrote an error:
error: static destructors are only supported for dynamic types

What is 'dynamic types' ?
And how I'm supposed to use this code ?

Thanks.
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to