Commit dedcba67 authored by Thomas Schöps's avatar Thomas Schöps

Attempt to fix a crash on shutdown

parent 8d28b610
......@@ -186,7 +186,11 @@ StandardDocumentationView::StandardDocumentationView(DocumentationFindWidget* fi
#endif
}
KDevelop::StandardDocumentationView::~StandardDocumentationView() = default;
KDevelop::StandardDocumentationView::~StandardDocumentationView()
{
// Prevent getting a loadFinished() signal on destruction.
disconnect(d->m_view, nullptr, this, nullptr);
}
void StandardDocumentationView::search ( const QString& text, DocumentationFindWidget::FindOptions options )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment