~SharedMessageThread()
 {
     signalThreadShouldExit();
     JUCEApplication::quit();
     waitForThreadToExit (5000);
     clearSingletonInstance();
 }
    ~InternalMessageQueue()
    {
        close (fd[0]);
        close (fd[1]);

        clearSingletonInstance();
    }
        ~NativeWindowClass()
        {
            if (atom != 0)
                UnregisterClass (getWindowClassName(), (HINSTANCE) Process::getCurrentModuleInstanceHandle());

            clearSingletonInstance();
        }
Esempio n. 4
0
    ~FontDCHolder()
    {
        if (dc != 0)
        {
            DeleteDC (dc);
            DeleteObject (fontH);
        }

        clearSingletonInstance();
    }
StoredSettings::~StoredSettings(void)
{
	ScopedPointer<XmlElement> root_elem(new XmlElement("PROPERTIES"));
	tree_root.setProperty(Identifiers::RecentFiles, var(list.toString()), nullptr);
	XmlElement* settings_elem = tree_root.createXml();
	XmlElement* keys_elem = command_manager->getKeyMappings()->createXml(true);
	root_elem->addChildElement(settings_elem);
	root_elem->addChildElement(keys_elem);
	if(!settings_file.deleteFile() || !settings_file.create() || !root_elem->writeToFile(settings_file, String::empty)){
		AlertWindow::showMessageBox(AlertWindow::WarningIcon, "Caution!", TRANS("Couldn't save the settings!"));
	}
	clearSingletonInstance();
}
Esempio n. 6
0
	ZenDebugEditor::~ZenDebugEditor()
	{
		valueTreeEditorComponent->setTree(ValueTree::invalid);
		if (valueTreeEditorComponent->isOnDesktop())
		{
			valueTreeEditorComponent->removeFromDesktop();
		}
		valueTreeEditorComponent = nullptr;
		if (this->isOnDesktop())
		{
			this->removeFromDesktop();
		}
		tabsComponent = nullptr;
		bufferVisualiserComponent = nullptr;
		componentVisualiserComponent = nullptr;

		clearSingletonInstance();
	}
//==============================================================================
AudioFileConverter::~AudioFileConverter()
{
	
	dbgOut("*** Deleting AudioFileConverter ***");

	if ( isThreadRunning() )	
	{
		dbgOut("** AudioFileConverter **  PANIC: The process is still running !!!");		
	}

	{ 	// Lock job queue and clear it
		const ScopedLock lock (queueLock);
		jobQueue.clear();
	}
	
	if (fileLogger != NULL)
		delete fileLogger;
	
	clearSingletonInstance();

	DBG("*** AudioFileConverter Deleted ***");
}
 ~TopLevelWindowManager()
 {
     clearSingletonInstance();
 }
Esempio n. 9
0
 ~TypefaceCache()
 {
     clearUpDefaultFontNames();
     clearSingletonInstance();
 }
Esempio n. 10
0
Fonts::~Fonts() {
  clearSingletonInstance();
}
ApplicationProperties::~ApplicationProperties()
{
    closeFiles();
    clearSingletonInstance();
}
 ~SharedD2DFactory()
 {
     clearSingletonInstance();
 }
Esempio n. 13
0
StoredSettings::~StoredSettings()
{
    flush();
    props = nullptr;
    clearSingletonInstance();
}
Esempio n. 14
0
 ~BufferDebuggerStore()
 {
     clearSingletonInstance();
 }
Esempio n. 15
0
 ~FreeTypeFacesImplementation()
 {
   clearSingletonInstance();
 }
Esempio n. 16
0
ImageLoader::~ImageLoader()
{
    LookAndFeel::setDefaultLookAndFeel(nullptr);
    clearSingletonInstance();
}
AudioFilterStreamingDeviceManager::~AudioFilterStreamingDeviceManager()
{
    setFilter (0);
    clearSingletonInstance();
}
Esempio n. 18
0
ModalComponentManager::~ModalComponentManager()
{
    clearSingletonInstance();
}
Esempio n. 19
0
 ~TypefaceCache()
 {
     clearSingletonInstance();
 }
AudioPluginFormatManager::~AudioPluginFormatManager()
{
    clearSingletonInstance();
}
Esempio n. 21
0
 ~FontList()
 {
     clearSingletonInstance();
 }
Esempio n. 22
0
 ~FTTypefaceList()
 {
     clearSingletonInstance();
 }
Esempio n. 23
0
 ~Pimpl()
 {
     clearSingletonInstance();
 }
Esempio n. 24
0
DownloadManager::~DownloadManager()
{
	clearSingletonInstance();
}