Removed notify from destructor wait for cancel loop.

This commit is contained in:
Robert Osfield 2004-11-19 09:02:00 +00:00
parent 9c6e909323
commit 65d4e0428e

View File

@ -81,7 +81,9 @@ int DatabasePager::cancel()
// then wait for the the thread to stop running.
while(isRunning())
{
osg::notify(osg::DEBUG_INFO)<<"Waiting for DatabasePager to cancel"<<std::endl;
// commenting out debug info as it was cashing crash on exit, presumable
// due to osg::notify or std::cout destructing earlier than this destructor.
// osg::notify(osg::DEBUG_INFO)<<"Waiting for DatabasePager to cancel"<<std::endl;
OpenThreads::Thread::YieldCurrentThread();
}