Skip to content

Commit

Permalink
fix: disable MallocNanoZone on mac (electron#33704)
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0t4zy authored and bavulapati committed Apr 29, 2022
1 parent 07f2896 commit 628eece
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shell/browser/resources/mac/Info.plist
Expand Up @@ -41,6 +41,11 @@
<false/>
<key>NSQuitAlwaysKeepsWindows</key>
<false/>
<key>LSEnvironment</key>
<dict>
<key>MallocNanoZone</key>
<string>0</string>
</dict>
<key>NSMicrophoneUsageDescription</key>
<string>This app needs access to the microphone</string>
<key>NSCameraUsageDescription</key>
Expand Down
5 changes: 5 additions & 0 deletions shell/common/resources/mac/Info.plist
Expand Up @@ -14,5 +14,10 @@
<true/>
<key>CFBundleVersion</key>
<string>${ELECTRON_VERSION}</string>
<key>LSEnvironment</key>
<dict>
<key>MallocNanoZone</key>
<string>0</string>
</dict>
</dict>
</plist>
5 changes: 5 additions & 0 deletions shell/renderer/resources/mac/Info.plist
Expand Up @@ -12,5 +12,10 @@
<true/>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>LSEnvironment</key>
<dict>
<key>MallocNanoZone</key>
<string>0</string>
</dict>
</dict>
</plist>

0 comments on commit 628eece

Please sign in to comment.