Vala does not have garbage collection, and the main() in the code example
is fine

On Sun, Jun 26, 2016 at 3:10 PM, Luca Bruno <lethalma...@gmail.com> wrote:

> Il venerdì 27 maggio 2016, Chris Bare <chris.b...@gmail.com> ha scritto:
>
> > I have a very simple vala program that is trying to load a glade ui file.
> > The window appears briefly, but then the program exits without error.
> > What am I missing?
>
>
> Save the new Thelma() to a variable, otherwise it gets garbaeg collected.
>
>
> --
> NixOS Linux <http://nixos.org>
> _______________________________________________
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to