From 11d1faeeb12db71d06127697d93703c81d792ab9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 4 Sep 2003 19:37:49 +0000 Subject: [PATCH] Added testCancel() to DatabasePager::run() loop. --- src/osgDB/DatabasePager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index b1c1d0554..24b83774a 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -197,6 +197,10 @@ void DatabasePager::run() while(true) { + + // test to see if we need to exit. + testCancel(); + // // delete any children if required. //