Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    f5ccfff5
    MAINT-5232: Add DEBUG logging to LLSingleton operations. · f5ccfff5
    Nat Goodspeed authored
    Specifically, log as LLSingleton captures inter-Singleton dependencies. Also
    log cleanupAll() calls to cleanupSingleton() and deleteAll() calls to
    deleteSingleton(), since they happen in an implicitly-determined order. But do
    not log anything during the implicit LLSingletonBase::deleteAll() call
    triggered by the runtime destroying the last LLSingleton's static data. That's
    too late in the run; even std::cerr might already have been destroyed!
    f5ccfff5
    History
    MAINT-5232: Add DEBUG logging to LLSingleton operations.
    Nat Goodspeed authored
    Specifically, log as LLSingleton captures inter-Singleton dependencies. Also
    log cleanupAll() calls to cleanupSingleton() and deleteAll() calls to
    deleteSingleton(), since they happen in an implicitly-determined order. But do
    not log anything during the implicit LLSingletonBase::deleteAll() call
    triggered by the runtime destroying the last LLSingleton's static data. That's
    too late in the run; even std::cerr might already have been destroyed!
Code owners
Assign users and groups as approvers for specific file changes. Learn more.