Changeset 40160 in webkit
- Timestamp:
- Jan 23, 2009 7:02:38 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r40159 r40160 1 2009-01-23 Adam Treat <adam.treat@torchmobile.com> 2 3 Reviewed by Holger Hans Peter Freyther. 4 5 Redo previous patch http://trac.webkit.org/changeset/34260 which fixes a 6 huge memory leak by ensuring that the timer is fired one last time on 7 application tear down thus triggering the GCController thereby freeing 8 JavaScript objects as well as triggering other timer based tear down methods. 9 10 * platform/qt/SharedTimerQt.cpp: 11 (WebCore::SharedTimerQt::~SharedTimerQt): 12 1 13 2009-01-23 Alexey Proskuryakov <ap@webkit.org> 2 14 -
trunk/WebCore/platform/qt/SharedTimerQt.cpp
r39784 r40160 53 53 private: 54 54 SharedTimerQt(QObject* parent); 55 ~SharedTimerQt(); 55 56 QBasicTimer m_timer; 56 57 void (*m_timerFunction)(); … … 61 62 , m_timerFunction(0) 62 63 {} 64 65 SharedTimerQt::~SharedTimerQt() 66 { 67 if (m_timer.isActive()) 68 (m_timerFunction)(); 69 } 63 70 64 71 SharedTimerQt* SharedTimerQt::inst()
Note: See TracChangeset
for help on using the changeset viewer.