Skip to content
Snippets Groups Projects
  • Joscha Schmiedt's avatar
    fbbef962
    Move static singletons to namespace level · fbbef962
    Joscha Schmiedt authored
    The singleton instances of ConfigurationManager and ConnectionManager
    were stored as static variables in the static GetInstance methods.
    
    This causes weird errors on Windows where the singleton instance is not
    initialized in time and remains empty. This could be due to
    undefined behavior?
    
    Moving them to the namespace level fixes the unit test errors.
    fbbef962
    History
    Move static singletons to namespace level
    Joscha Schmiedt authored
    The singleton instances of ConfigurationManager and ConnectionManager
    were stored as static variables in the static GetInstance methods.
    
    This causes weird errors on Windows where the singleton instance is not
    initialized in time and remains empty. This could be due to
    undefined behavior?
    
    Moving them to the namespace level fixes the unit test errors.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.