On Wed, Nov 16, 2016 at 7:18 PM Christian Hergert <christ...@hergert.me>
wrote:

> On 11/16/2016 07:06 PM, philip.chime...@gmail.com wrote:
> > Yes, that worked, thanks for the great suggestion! There is no ordering
> > problem (unless someone felt the need to create a GjsContext in a
> > different static constructor...)
>
> It is not safe to create things like that from a static constructor.
> There is no guaranteed ordering in static constructors.
>

Yes, it would be a bad idea and I don't think it should be supported.
Initializing SpiderMonkey from a static constructor should be fine, though.

Philip
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to