----- Original Message -----
> OK, I guess that's better than what we have now...  Still I thought the
> goal of this class is to avoid static initializers, so why do we want a
> trivial destructor for it in release builds?

So the compiler won't generate a static initializer that ensures the 
non-trivial destructor is called at shutdown.  See bug 809931.

-Nathan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to