mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* chore: bump chromium in DEPS to 100.0.4896.60 * chore: update patches Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: VerteDinde <vertedinde@electronjs.org>
|
|
Date: Tue, 1 Mar 2022 12:07:25 -0800
|
|
Subject: build: disable partition alloc on mac
|
|
|
|
Enabling partition alloc caused a crash when spawning
|
|
a child process. This patch disables partition alloc for mac,
|
|
and can be removed when the crash in fork is resolved.
|
|
Related issue: https://github.com/electron/electron/issues/32718
|
|
|
|
diff --git a/base/allocator/allocator.gni b/base/allocator/allocator.gni
|
|
index 8fa0c36007a0ae0e4553709d27a8231efb08459b..3c4f93fc98b5002572adc78cb9a21b3e78c9f3e0 100644
|
|
--- a/base/allocator/allocator.gni
|
|
+++ b/base/allocator/allocator.gni
|
|
@@ -20,7 +20,7 @@ _disable_partition_alloc = is_component_build || (is_win && is_debug)
|
|
|
|
# - NaCl: No plans to support it.
|
|
# - iOS: not done yet.
|
|
-_is_partition_alloc_platform = !is_nacl && !is_ios
|
|
+_is_partition_alloc_platform = !is_nacl && !is_ios && !is_mac
|
|
|
|
# Under Windows Debug the allocator shim is not compatible with CRT.
|
|
# NaCl in particular does seem to link some binaries statically
|