[Development] [fix]: Assistant (and others) burning CPU because of #f27d1ccbb24ec2fd4098f2976503478831006cc8 ?

Gabriel de Dietrich Gabriel.deDietrich at qt.io
Tue Aug 29 04:02:59 CEST 2017


FYI: QCocoaMenu: Stop update timer (Merged)<https://codereview.qt-project.org/203791>

Best regards,

Dr. Gabriel de Dietrich
Senior Software Developer
The Qt Company

On Aug 29, 2017, at 9:00 AM, Thiago Macieira <thiago.macieira at intel.com<mailto:thiago.macieira at intel.com>> wrote:

On Monday, 28 August 2017 17:06:18 PDT René J.V. Bertin wrote:
       killTimer(m_updateTimer);

before setting m_updateTimer=0? Whether or not it's appropriate, this does
solve the CPU burning for me.

Yeah, if you don't kill the timer, it will keep firing.

--
Thiago Macieira - thiago.macieira (AT) intel.com<http://intel.com>
 Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170829/498cb90b/attachment.html>


More information about the Development mailing list