Skip to content

Use lazy global initialization of Config singleton

Gabriel Souza Franco requested to merge work/gbs/lazy-config into master

The eager initialization was triggering early construction of Instance::sIdentifier, breaking akonaditest. The test runner overrides the environment variable AKONADI_INSTANCE before initializing the server. By statically constructing sIdentifier, the setup code is too late to change the value, leading to an assertion failure.

Merge request reports

Loading