Bug 58389

Summary: Make API callback objects use weak handles to run their finalizers
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: New BugsAssignee: Oliver Hunt <oliver>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch ggaren: review+

Description Oliver Hunt 2011-04-12 16:05:19 PDT
Make API callback objects use weak handles to run their finalizers
Comment 1 Oliver Hunt 2011-04-12 16:07:12 PDT
Created attachment 89297 [details]
Patch
Comment 2 Geoffrey Garen 2011-04-12 16:19:49 PDT
Comment on attachment 89297 [details]
Patch

When it becomes more common, we should find a way to make it easier and less error-prone to create a "finalize-only" style of handle.
Comment 3 Oliver Hunt 2011-04-12 16:28:05 PDT
Committed r83661: <http://trac.webkit.org/changeset/83661>
Comment 4 Geoffrey Garen 2011-04-12 16:48:16 PDT
Committed r83664: <http://trac.webkit.org/changeset/83664>