diff transform/TransformFactory.h @ 574:2d551c765d51

* thread tidying fix, etc
author Chris Cannam
date Mon, 16 Mar 2009 13:56:11 +0000
parents 1b8c748fd7ea
children 06579b8ffb7b
line wrap: on
line diff
--- a/transform/TransformFactory.h	Fri Mar 13 17:53:43 2009 +0000
+++ b/transform/TransformFactory.h	Mon Mar 16 13:56:11 2009 +0000
@@ -39,6 +39,7 @@
     virtual ~TransformFactory();
 
     static TransformFactory *getInstance();
+    static void deleteInstance(); // only when exiting
 
     /**
      * TransformFactory has a background thread that can populate
@@ -224,6 +225,7 @@
     };
 
     UninstalledTransformsPopulateThread *m_thread;
+    bool m_exiting;
     bool m_populatingSlowly;
 
     static TransformFactory *m_instance;