fix: [Mac] Disable MallocNanoZone (#34734)

fix: disable MallocNanoZone on mac

Co-authored-by: Jacek Oleksy <jacek.oleksy@gmail.com>
This commit is contained in:
trop[bot]
2022-06-28 13:58:47 -07:00
committed by GitHub
parent f967309287
commit 46718d362e
3 changed files with 15 additions and 0 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -12,5 +12,10 @@
<true/>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>LSEnvironment</key>
<dict>
<key>MallocNanoZone</key>
<string>0</string>
</dict>
</dict>
</plist>