~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();
        }
Exemple #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();
}
	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();
 }
 ~TypefaceCache()
 {
     clearUpDefaultFontNames();
     clearSingletonInstance();
 }
Exemple #10
0
Fonts::~Fonts() {
  clearSingletonInstance();
}
ApplicationProperties::~ApplicationProperties()
{
    closeFiles();
    clearSingletonInstance();
}
 ~SharedD2DFactory()
 {
     clearSingletonInstance();
 }
StoredSettings::~StoredSettings()
{
    flush();
    props = nullptr;
    clearSingletonInstance();
}
Exemple #14
0
 ~BufferDebuggerStore()
 {
     clearSingletonInstance();
 }
Exemple #15
0
 ~FreeTypeFacesImplementation()
 {
   clearSingletonInstance();
 }
Exemple #16
0
ImageLoader::~ImageLoader()
{
    LookAndFeel::setDefaultLookAndFeel(nullptr);
    clearSingletonInstance();
}
AudioFilterStreamingDeviceManager::~AudioFilterStreamingDeviceManager()
{
    setFilter (0);
    clearSingletonInstance();
}
ModalComponentManager::~ModalComponentManager()
{
    clearSingletonInstance();
}
Exemple #19
0
 ~TypefaceCache()
 {
     clearSingletonInstance();
 }
AudioPluginFormatManager::~AudioPluginFormatManager()
{
    clearSingletonInstance();
}
 ~FontList()
 {
     clearSingletonInstance();
 }
Exemple #22
0
 ~FTTypefaceList()
 {
     clearSingletonInstance();
 }
Exemple #23
0
 ~Pimpl()
 {
     clearSingletonInstance();
 }
Exemple #24
0
DownloadManager::~DownloadManager()
{
	clearSingletonInstance();
}