comparison main/main.cpp @ 315:0135a026cbe1

* thread tidying fix, etc
author Chris Cannam
date Mon, 16 Mar 2009 13:56:11 +0000
parents 7872a95ee530
children 2c8b64e72830
comparison
equal deleted inserted replaced
314:db14b2b3aedd 315:0135a026cbe1
19 #include "system/Init.h" 19 #include "system/Init.h"
20 #include "base/TempDirectory.h" 20 #include "base/TempDirectory.h"
21 #include "base/PropertyContainer.h" 21 #include "base/PropertyContainer.h"
22 #include "base/Preferences.h" 22 #include "base/Preferences.h"
23 #include "widgets/TipDialog.h" 23 #include "widgets/TipDialog.h"
24 #include "transform/TransformFactory.h"
24 25
25 #include <QMetaType> 26 #include <QMetaType>
26 #include <QApplication> 27 #include <QApplication>
27 #include <QDesktopWidget> 28 #include <QDesktopWidget>
28 #include <QMessageBox> 29 #include <QMessageBox>
411 int rv = application.exec(); 412 int rv = application.exec();
412 413
413 gui->hide(); 414 gui->hide();
414 415
415 cleanupMutex.lock(); 416 cleanupMutex.lock();
417 TransformFactory::deleteInstance();
416 TempDirectory::getInstance()->cleanup(); 418 TempDirectory::getInstance()->cleanup();
417 419
418 application.releaseMainWindow(); 420 application.releaseMainWindow();
419 421
420 #ifdef HAVE_FFTW3F 422 #ifdef HAVE_FFTW3F