6a417637d5
https://bugs.webkit.org/show_bug.cgi?id=228148 Reviewed by Sihui Liu. RunningBoard kills the network process if it is still holding the "holding locked file" assertion upon suspension because our assertion type is "uninterruptible" and we don't release it when it gets invalidated. To address the issue, we now use an "interruptible" assertion instead when holding locked files. * NetworkProcess/ios/NetworkProcessIOS.mm: (WebKit::NetworkProcess::setIsHoldingLockedFiles): * UIProcess/ProcessAssertion.h: * UIProcess/ProcessThrottler.cpp: (WebKit::ProcessThrottler::assertionName const): * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::didSetAssertionType): * UIProcess/ios/ProcessAssertionIOS.mm: (WebKit::runningBoardNameForAssertionType): (WebKit::runningBoardDomainForAssertionType): Canonical link: https://commits.webkit.org/239857@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280160 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
NetworkConnectionToWebProcessIOS.mm | ||
NetworkProcessIOS.mm |