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

List:       amarok-bugs-dist
Subject:    [Bug 188064] listAllEngines() sometimes returns empty list
From:       "Aaron J.Seigo" <aseigo () kde ! org>
Date:       2009-03-29 18:49:39
Message-ID: 20090329184939.2A2021575E () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=188064





--- Comment #4 from Aaron J. Seigo <aseigo kde org>  2009-03-29 20:49:36 ---
i don't see why you should be needing to delete the engines in this manner in
the first place?

the applets accessing them via dataEngine will have them automatically deleted
for them when they are deleted (and thus the usage count on the engine drops to
zero), so just make sure to delete all the applets on exit for that.

if other things are using engines, they should similarly keep track of it. but
looking at the amarok sources, it's just applets that are using the
dataengines, so it seems to me that either the applets aren't being deleted at
close or else the reference counting isn't working as expected.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread] 

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