Title: [279890] trunk/Source/WebKit
Revision
279890
Author
[email protected]
Date
2021-07-13 13:56:39 -0700 (Tue, 13 Jul 2021)

Log Message

Unreviewed, reverting r279647.
<rdar://80519938>

Introduced a crash

Reverted changeset:

"XPC services should release their os transaction when given a
SIGTERM signal"
https://bugs.webkit.org/show_bug.cgi?id=227747
https://commits.webkit.org/r279647

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (279889 => 279890)


--- trunk/Source/WebKit/ChangeLog	2021-07-13 20:38:20 UTC (rev 279889)
+++ trunk/Source/WebKit/ChangeLog	2021-07-13 20:56:39 UTC (rev 279890)
@@ -1,3 +1,17 @@
+2021-07-13  Alex Christensen  <[email protected]>
+
+        Unreviewed, reverting r279647.
+        <rdar://80519938>
+
+        Introduced a crash
+
+        Reverted changeset:
+
+        "XPC services should release their os transaction when given a
+        SIGTERM signal"
+        https://bugs.webkit.org/show_bug.cgi?id=227747
+        https://commits.webkit.org/r279647
+
 2021-07-13  Kate Cheney  <[email protected]>
 
         Unreviewed iOS/tvOS/watchOS build fix.

Modified: trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h (279889 => 279890)


--- trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h	2021-07-13 20:38:20 UTC (rev 279889)
+++ trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.h	2021-07-13 20:56:39 UTC (rev 279890)
@@ -101,10 +101,6 @@
     // the UIProcess takes process assertions on behalf of its child processes.
 #if PLATFORM(MAC)
     osTransaction() = adoptOSObject(os_transaction_create("WebKit XPC Service"));
-    signal(SIGTERM, [] (int signal) {
-        RELEASE_ASSERT(signal == SIGTERM);
-        osTransaction() = nullptr;
-    });
 #endif
 
     InitializeWebKit2();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to