[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 178450] Crash on exit
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-12-22 11:28:25
Message-ID: 20081222112825.E2B0213DE3 () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=178450





--- Comment #1 from Andreas Pakulat <apaku gmx de>  2008-12-22 12:28:25 ---
Created an attachment (id=29545)
 --> (http://bugs.kde.org/attachment.cgi?id=29545)
possible fix for cpp cleanup mess

Apparently the ILanguage instance doesn't exist anymore when C++ support is
deleted. I don't see any cleanup done for the language controller in
shell/core.cpp so that shouldn't happen.

OTOH the c++ support should use the the cleanup method of its plugin for all
this stuff. cleanup is guaranteed to be called before anything that the plugin
might want to use is deleted (i.e. before the plugin is removed and delete'd).

The attached patch moves anything but the delete's from the destructor to the
cleanup method.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic