~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(); }
~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(); }
Fonts::~Fonts() { clearSingletonInstance(); }
ApplicationProperties::~ApplicationProperties() { closeFiles(); clearSingletonInstance(); }
~SharedD2DFactory() { clearSingletonInstance(); }
StoredSettings::~StoredSettings() { flush(); props = nullptr; clearSingletonInstance(); }
~BufferDebuggerStore() { clearSingletonInstance(); }
~FreeTypeFacesImplementation() { clearSingletonInstance(); }
ImageLoader::~ImageLoader() { LookAndFeel::setDefaultLookAndFeel(nullptr); clearSingletonInstance(); }
AudioFilterStreamingDeviceManager::~AudioFilterStreamingDeviceManager() { setFilter (0); clearSingletonInstance(); }
ModalComponentManager::~ModalComponentManager() { clearSingletonInstance(); }
~TypefaceCache() { clearSingletonInstance(); }
AudioPluginFormatManager::~AudioPluginFormatManager() { clearSingletonInstance(); }
~FontList() { clearSingletonInstance(); }
~FTTypefaceList() { clearSingletonInstance(); }
~Pimpl() { clearSingletonInstance(); }
DownloadManager::~DownloadManager() { clearSingletonInstance(); }