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