[Panel-devel] [PATCH] Don't leak timers in taskbar

Maksim Orlovich mo85 at cornell.edu
Mon Dec 31 22:08:18 CET 2007


Hi... The plasma taskbar currently (as of the revision I have on my
laptop, anyway) seems to leak some timers, which shows up in CPU use
eventually climbing. The attached should fix at least one cause of that:
startTimer w/o killTimer. If you look at QObject::startTimer docs, it's
not single-shot, so single-shot use needs an explicit kill.

Anyway, if this is OK, it'd be good if someone committed...
I don't have good net access at the moment, so I might not be able to

-Maks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plasma_timers.diff
Type: application/octet-stream
Size: 1065 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071231/1659f191/attachment.obj 


More information about the Panel-devel mailing list