Summary: | Crash wnen changing active language | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | aragorn |
Component: | classbrowser | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
aragorn
2003-09-13 20:11:29 UTC
can confirm this with current cvs Changing component to classview. This crash also occurs when manually unloading the classview in project plugins. Subject: kdevelop/parts/classview CVS commit by dagerbo: We need to clear the views before we destruct, or the shared objects in the code model explode later. Exactly why this doesn't happen automatically, I haven't figured out yet.. :) CCMAIL: 64220-done@bugs.kde.org M +4 -0 classviewpart.cpp 1.51 --- kdevelop/parts/classview/classviewpart.cpp #1.50:1.51 @@ -82,4 +82,8 @@ ClassViewPart::ClassViewPart(QObject *pa ClassViewPart::~ClassViewPart() { + m_namespaces->view()->clear(); + m_classes->view()->clear(); + m_functions->view()->clear(); + mainWindow()->removeView( m_widget ); delete (ClassViewWidget*) m_widget; moving to kdevplatform's classbrowser |