Bug 267746 - Timer::stop can short-circuit in most cases
Summary: Timer::stop can short-circuit in most cases
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-01-18 18:16 PST by Ryosuke Niwa
Modified: 2024-01-18 22:52 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2024-01-18 18:16:22 PST
Don't make a function call when the timer isn't active.
Comment 1 Ryosuke Niwa 2024-01-18 18:28:19 PST
Pull request: https://github.com/WebKit/WebKit/pull/22955
Comment 2 EWS 2024-01-18 22:51:37 PST
Committed 273212@main (741a55f3d6f1): <https://commits.webkit.org/273212@main>

Reviewed commits have been landed. Closing PR #22955 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-01-18 22:52:14 PST
<rdar://problem/121241762>