From e17df6a8a53eb724e4729329b1b8b707e2aaf701 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 24 Jan 2004 09:41:29 +0000 Subject: [PATCH] Added release of file request block in the DatabasePager destructor. --- src/osgDB/DatabasePager.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index d2dbd5a6b..5b3811adf 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -41,6 +41,10 @@ DatabasePager::DatabasePager() DatabasePager::~DatabasePager() { + // release the frameBlock and _fileRequestListEmptyBlock incase its holding up thread cancelation. + _frameBlock->release(); + _fileRequestListEmptyBlock->release(); + //std::cout<<"DatabasePager::~DatabasePager()"<release(); - - // then wait for the the thread to stop running. while(isRunning()) {