From Jason Beverage, "Here is a small fix to the DatabasePager to fix a crash if you were
running with the OSG_NOTIFY_LEVEL set to INFO. An iterator was being erased, and then referenced to display a message. Just changed it to display the message first, then erase."
This commit is contained in:
parent
7db9f18619
commit
31ec835002
@ -395,9 +395,9 @@ void DatabasePager::RequestQueue::takeFirst(osg::ref_ptr<DatabaseRequest>& datab
|
||||
else
|
||||
{
|
||||
(*citr)->invalidate();
|
||||
|
||||
citr = _requestList.erase(citr);
|
||||
|
||||
OSG_INFO<<"DatabasePager::RequestQueue::takeFirst(): Pruning "<<(*citr)<<std::endl;
|
||||
citr = _requestList.erase(citr);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user