void SfxApplication::Deinitialize()
{ if (pImpl->bDowning) return;
#if HAVE_FEATURE_SCRIPTING
StarBASIC::Stop();
SaveBasicAndDialogContainer(); #endif
pImpl->bDowning = true; // due to Timer from DecAliveCount and QueryExit
pImpl->pTemplates.reset();
// By definition there shouldn't be any open view frames when we reach // this method. Therefore this call makes no sense and is the source of // some stack traces, which we don't understand. // For more information see:
pImpl->bDowning = false;
DBG_ASSERT(!SfxViewFrame::GetFirst(), "existing SfxViewFrame after Execute");
DBG_ASSERT(!SfxObjectShell::GetFirst(), "existing SfxObjectShell after Execute");
pImpl->pAppDispat->Pop(*this, SfxDispatcherPopFlags::POP_UNTIL);
pImpl->pAppDispat->Flush();
pImpl->bDowning = true;
pImpl->pAppDispat->DoDeactivate_Impl(true, nullptr);
// Release Controller and others // then the remaining components should also disappear ( Beamer! )
#if HAVE_FEATURE_SCRIPTING
BasicManagerRepository::resetApplicationBasicManager();
pImpl->pBasicManager->reset(nullptr); // this will also delete pBasMgr #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.