Bug 19280 - Very large leak on exit of any QtWebKit application including Qt 4.4 version
Summary: Very large leak on exit of any QtWebKit application including Qt 4.4 version
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Linux
: P1 Major
Assignee: Adam Treat
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-27 15:37 PDT by Adam Treat
Modified: 2008-05-30 03:52 PDT (History)
2 users (show)

See Also:


Attachments
Fixes leak (748 bytes, patch)
2008-05-27 15:38 PDT, Adam Treat
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Treat 2008-05-27 15:37:49 PDT
QtWebKit has a very large leak on exit.  The DOM Document and all its child nodes as well as the all the JavaScript objects are leaked on exit because the GCController timer is not fired.  SharedTimerQt is a singleton object that does not fire on application close.  This cleans up SharedTimerQt and makes sure the timer is fired.  Patch forthcoming...
Comment 1 Adam Treat 2008-05-27 15:38:43 PDT
Created attachment 21372 [details]
Fixes leak
Comment 2 Simon Hausmann 2008-05-29 07:36:35 PDT
Comment on attachment 21372 [details]
Fixes leak

Good catch! We'll have to make sure this also goes into Qt 4.4. *note to self*
Comment 3 Simon Hausmann 2008-05-30 03:52:26 PDT
Landed in r34260