Skip to content
Snippets Groups Projects
Commit 99e29b83 authored by Richard Linden's avatar Richard Linden
Browse files

crash fix - bad handling of instancetracker iterators

parent 8b93238b
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ TimeBlockTreeNode& BlockTimerStatHandle::getTreeNode() const ...@@ -193,7 +193,7 @@ TimeBlockTreeNode& BlockTimerStatHandle::getTreeNode() const
void BlockTimerStatHandle::bootstrapTimerTree() void BlockTimerStatHandle::bootstrapTimerTree()
{ {
for (BlockTimerStatHandle::instance_tracker_t::instance_iter begin_it = BlockTimerStatHandle::instance_tracker_t::beginInstances(), end_it = BlockTimerStatHandle::instance_tracker_t::endInstances(), it = begin_it; for (BlockTimerStatHandle::instance_tracker_t::instance_iter it = BlockTimerStatHandle::instance_tracker_t::beginInstances(), end_it = BlockTimerStatHandle::instance_tracker_t::endInstances();
it != end_it; it != end_it;
++it) ++it)
{ {
......
...@@ -41,6 +41,7 @@ void LLInstanceTrackerBase::StaticBase::incrementDepth() ...@@ -41,6 +41,7 @@ void LLInstanceTrackerBase::StaticBase::incrementDepth()
void LLInstanceTrackerBase::StaticBase::decrementDepth() void LLInstanceTrackerBase::StaticBase::decrementDepth()
{ {
llassert(sIterationNestDepth);
apr_atomic_dec32(&sIterationNestDepth); apr_atomic_dec32(&sIterationNestDepth);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment