Bug 227747

Summary: XPC services should release their os transaction when given a SIGTERM signal
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Alex Christensen
Reported 2021-07-07 09:17:31 PDT
XPC services should release their os transaction when given a SIGTERM signal
Attachments
Patch (2.99 KB, patch)
2021-07-07 09:21 PDT, Alex Christensen
no flags
Patch (1.87 KB, patch)
2021-07-07 09:51 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2021-07-07 09:21:38 PDT
Alex Christensen
Comment 2 2021-07-07 09:21:41 PDT
Geoffrey Garen
Comment 3 2021-07-07 09:41:54 PDT
Comment on attachment 433035 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=433035&action=review r=me > Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h:105 > + signal(SIGTERM, releaseOSTransaction); FWIW, I like using no-capture lambdas in cases like this.
Alex Christensen
Comment 4 2021-07-07 09:51:27 PDT
EWS
Comment 5 2021-07-07 10:32:26 PDT
Committed r279647 (239460@main): <https://commits.webkit.org/239460@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433038 [details].
Alex Christensen
Comment 6 2021-07-13 13:56:55 PDT
Reverted in r279890
Note You need to log in before you can comment on or make changes to this bug.