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:
Robert Osfield
2010-02-26 09:23:28 +00:00
parent 8c4da68338
commit 2e154d5976
5 changed files with 48 additions and 53 deletions

View File

@@ -98,11 +98,6 @@ TXPNode::~TXPNode()
}
}
TXPArchive* TXPNode::getArchive()
{
return _archive.get();
}
void TXPNode::traverse(osg::NodeVisitor& nv)
{
switch(nv.getVisitorType())