Crash in ContextScene on exit

Mark Kretschmann kretschmann at kde.org
Wed Aug 1 10:54:45 CEST 2007


On 8/1/07, Maximilian Kossick <mkossick at gmx.de> wrote:
> I just noticed a crash in the contextscene when exiting the application. It
> only happens when you close one of the loaded applets before closing amarok
> the destructor of the applet is called when the applet was closed manually,
> but it looks like it was not removed from the list of loaded applets in
> contextscene. Therefore amarok crashes when it tries to delete it again in
> ContextScene::clear().
>
> There's no way that I can see to remove the applet from the scene in the
> applets's destructor, and I'm not sure where the best place to add it is.

Fixed it. QPointer does the trick.

-- 
Mark


More information about the Amarok-devel mailing list