diff options
Diffstat (limited to 'indra/llcommon/llerror.cpp')
-rw-r--r-- | indra/llcommon/llerror.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 5964993928..4f8dc51458 100644 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -20,6 +20,7 @@ extern apr_thread_mutex_t *gLogMutexp; #include "lllivefile.h" #include "llsd.h" #include "llsdserialize.h" +#include "llstl.h" #include <algorithm> #include <cctype> @@ -390,6 +391,12 @@ namespace LLError shouldLogCallCounter(0) { } + ~Settings() + { + for_each(recorders.begin(), recorders.end(), + DeletePointer()); + } + static Settings*& getPtr(); }; |