Bug 242013

Summary: IOSurfacePool has to stop its collection timer when it is being deleted
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Said Abou-Hallawa 2022-06-26 01:38:26 PDT
The timer is a kernel object and if it is active it can fire even after its container RunLoop::Timer object is destroyed. So the destructor of IOSurfacePool needs to stop the collection timer if it is active.
Comment 1 Said Abou-Hallawa 2022-06-26 01:41:52 PDT
rdar://94516877
Comment 2 Said Abou-Hallawa 2022-06-26 01:48:34 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1808