As OP said, if you run the commented out code it works fine.

On Sun, Jun 26, 2016 at 6:24 PM, Ben Iofel <iofel...@gmail.com> wrote:

> The run method blocks, so it works fine. I've used this line in my own
> programs
>
> On Sun, Jun 26, 2016 at 6:23 PM, Luca Bruno <lethalma...@gmail.com> wrote:
>
>> It does, it's reference counting. The main there is freeing the Thelma
>> object right after run method is called.
>>
>>
>> Il lunedì 27 giugno 2016, Ben Iofel <iofel...@gmail.com> ha scritto:
>>
>>> Vala does not have garbage collection, and the main() in the code
>>> example is fine
>>>
>>>
>>
>> --
>> NixOS Linux <http://nixos.org>
>>
>>
>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to