Code review comment for lp:~smspillaz/compiz-core/compiz-core.fix_931927

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Static initialization and destruction, basically.

There's a case where the destructor would be called on the global when a plugin was loaded (compiler, linker bug?) before it was actually fully constructed.

I would have made them const, but a lot of the Option* code requires a non const reference. It worked fine even when the globals weren't const, so I don't think this is an issue.

« Back to merge proposal