RESOLVED FIXED 230022
Remove unneeded call on startup of WebContent process
https://bugs.webkit.org/show_bug.cgi?id=230022
Summary Remove unneeded call on startup of WebContent process
Per Arne Vollan
Reported 2021-09-07 13:54:52 PDT
There is no need to call CGSShutdownServerConnections during startup of the WebContent process on macOS, since we already have asserted that there are no open connections at this point.
Attachments
Patch (1.66 KB, patch)
2021-09-07 14:01 PDT, Per Arne Vollan
darin: review+
Patch (2.94 KB, patch)
2021-09-07 15:34 PDT, Per Arne Vollan
no flags
Radar WebKit Bug Importer
Comment 1 2021-09-07 13:55:32 PDT
Per Arne Vollan
Comment 2 2021-09-07 14:01:46 PDT
Darin Adler
Comment 3 2021-09-07 14:07:24 PDT
Comment on attachment 437554 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437554&action=review > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:-636 > - // Make sure that we close any WindowServer connections after checking in with Launch Services. > - CGSShutdownServerConnections(); Can we also take this out of CoreGraphicsSPI.h?
Per Arne Vollan
Comment 4 2021-09-07 14:10:29 PDT
(In reply to Darin Adler from comment #3) > Comment on attachment 437554 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=437554&action=review > > > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:-636 > > - // Make sure that we close any WindowServer connections after checking in with Launch Services. > > - CGSShutdownServerConnections(); > > Can we also take this out of CoreGraphicsSPI.h? Yes, that's a good point, will fix. Thanks for reviewing!
Per Arne Vollan
Comment 5 2021-09-07 15:34:44 PDT
EWS
Comment 6 2021-09-08 10:31:04 PDT
Committed r282157 (241449@main): <https://commits.webkit.org/241449@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437564 [details].
Note You need to log in before you can comment on or make changes to this bug.