From e5ced085417b5e3c61819f30c7d23cf7f23400d3 Mon Sep 17 00:00:00 2001 From: Jacek Oleksy <35292764+pr0t4zy@users.noreply.github.com> Date: Thu, 28 Apr 2022 16:28:27 +0200 Subject: [PATCH] fix: disable MallocNanoZone on mac (#33704) --- shell/browser/resources/mac/Info.plist | 5 +++++ shell/common/resources/mac/Info.plist | 5 +++++ shell/renderer/resources/mac/Info.plist | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/shell/browser/resources/mac/Info.plist b/shell/browser/resources/mac/Info.plist index 29a0823c1504b..39ca2170dee22 100644 --- a/shell/browser/resources/mac/Info.plist +++ b/shell/browser/resources/mac/Info.plist @@ -41,6 +41,11 @@ NSQuitAlwaysKeepsWindows + LSEnvironment + + MallocNanoZone + 0 + NSMicrophoneUsageDescription This app needs access to the microphone NSCameraUsageDescription diff --git a/shell/common/resources/mac/Info.plist b/shell/common/resources/mac/Info.plist index 1d585534067bf..3aa1e88b39efa 100644 --- a/shell/common/resources/mac/Info.plist +++ b/shell/common/resources/mac/Info.plist @@ -14,5 +14,10 @@ CFBundleVersion ${ELECTRON_VERSION} + LSEnvironment + + MallocNanoZone + 0 + diff --git a/shell/renderer/resources/mac/Info.plist b/shell/renderer/resources/mac/Info.plist index 2d39d2a9845a9..219fa59997db4 100644 --- a/shell/renderer/resources/mac/Info.plist +++ b/shell/renderer/resources/mac/Info.plist @@ -12,5 +12,10 @@ NSSupportsAutomaticGraphicsSwitching + LSEnvironment + + MallocNanoZone + 0 +