Crash in A2 - playing free music charts - dead engine observer
Mark Kretschmann
kretschmann at kde.org
Thu Nov 6 09:03:30 CET 2008
On Wed, Nov 5, 2008 at 8:50 AM, Maximilian Kossick
<maximilian.kossick at googlemail.com> wrote:
> idea: implement EngineObserver the same way as MetaObserver, i.e.
> EngineObserver itself takes caring of unregistering when it is
> destroyed
>
> On Tue, Nov 4, 2008 at 7:20 PM, Nikolaj Hald Nielsen
> <nhnfreespirit at gmail.com> wrote:
>> _someone_ is registering something as an engine observer and
>> forgetting to unregister before destroying the object. Who has made
>> changes to this stuff rencently?
The EngineObserver destructor is already handling the detaching:
EngineObserver::~EngineObserver()
{
m_subject->detach( this );
}
--
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org
More information about the Amarok-devel
mailing list