From Ryan Kawicki, "I guess I missed these during my testing, but if the database pager has outstanding requests while the application is shutting down, the archive can become invalidated through unsafe calls to ReaderWriterTXP::getArchive. I've made this function return a ref_ptr and change other locations to as needed to conform to the change. I've tested this and no more crashes.
Following files from revision 11057 have been attached."
This commit is contained in:
@@ -98,11 +98,6 @@ TXPNode::~TXPNode()
|
||||
}
|
||||
}
|
||||
|
||||
TXPArchive* TXPNode::getArchive()
|
||||
{
|
||||
return _archive.get();
|
||||
}
|
||||
|
||||
void TXPNode::traverse(osg::NodeVisitor& nv)
|
||||
{
|
||||
switch(nv.getVisitorType())
|
||||
|
||||
Reference in New Issue
Block a user