Added releaseContext to end of GraphicsThread::run()

This commit is contained in:
Robert Osfield
2007-01-14 20:23:47 +00:00
parent 35ec6cee40
commit 09cef410ec

View File

@@ -369,6 +369,8 @@ void GraphicsThread::run()
// osg::notify(osg::NOTICE)<<"operations.size()="<<_operations.size()<<" done="<<_done<<" testCancel()"<<testCancel()<<std::endl;
} while (!testCancel() && !_done);
_graphicsContext->releaseContext();
osg::notify(osg::INFO)<<"exit loop "<<this<<" isRunning()="<<isRunning()<<std::endl;