[webkit-changes] [WebKit/WebKit] 5dc074: ProcessThrottler Assertion Failure in removeAllAss...

Miguel Salinas noreply at github.com
Fri Mar 10 15:54:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5dc074b0535acc6a22b3436a4bd3ebbf7059ccb3
      https://github.com/WebKit/WebKit/commit/5dc074b0535acc6a22b3436a4bd3ebbf7059ccb3
  Author: Miguel Salinas <miguel_salinas at apple.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ProcessThrottler.cpp

  Log Message:
  -----------
  ProcessThrottler Assertion Failure in removeAllAssertionsTimerFired
https://bugs.webkit.org/show_bug.cgi?id=253728
rdar://106291850

Reviewed by Chris Dumez.

We should only start the timer to remove all assertions after actually
taking a Suspended assertion and we should stop it whenever we take a
different process assertion.

* Source/WebKit/UIProcess/ProcessThrottler.cpp:
(WebKit::ProcessThrottler::setThrottleState):
(WebKit::ProcessThrottler::updateThrottleStateIfNeeded):

Canonical link: https://commits.webkit.org/261533@main




More information about the webkit-changes mailing list