Skip to content
  • Patrick Ohly's avatar
    logging: be more careful about destructing the loggers · a9ea36dc
    Patrick Ohly authored
    Destructing the config in TSyncAppBase::~TSyncAppBase triggered
    calls into the logger. Now keep the logger around (even though
    it no longer has a valid config), destruct the config, then
    destruct the logger.
    
    Also set the pointers to NULL. Not sure whether this is checked
    at all places, though. I've seen code which just uses the
    result of getDbgLogger() without checking for NULL.
    a9ea36dc