Bug 242013 - IOSurfacePool has to stop its collection timer when it is being deleted
Summary: IOSurfacePool has to stop its collection timer when it is being deleted
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-26 01:38 PDT by Said Abou-Hallawa
Modified: 2022-06-27 08:31 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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