commit 9612c46c4cb6c380679399f43deadd03a2b69a4e Author: Arlo Breault arlolra@gmail.com Date: Thu Jul 9 21:10:33 2015 -0700
Set NSDisablePersistence to prevent disk leaks
* https://bugzilla.mozilla.org/show_bug.cgi?id=1182380
* Closes #16508 --- projects/instantbird/config | 2 ++ .../instantbird/osx-saved-application-state.patch | 26 ++++++++++++++++++++ 2 files changed, 28 insertions(+)
diff --git a/projects/instantbird/config b/projects/instantbird/config index 80575fa..f33f9c3 100644 --- a/projects/instantbird/config +++ b/projects/instantbird/config @@ -107,6 +107,8 @@ input_files: - filename: branding/about.png - filename: branding/osx.patch enable: '[% c("var/osx") %]' + - filename: osx-saved-application-state.patch + enable: '[% c("var/osx") %]' - filename: fix-mingw-build.patch enable: '[% c("var/windows") %]' - filename: f2e7cea9bc6a-bug-1150967.patch diff --git a/projects/instantbird/osx-saved-application-state.patch b/projects/instantbird/osx-saved-application-state.patch new file mode 100644 index 0000000..e92e6f7 --- /dev/null +++ b/projects/instantbird/osx-saved-application-state.patch @@ -0,0 +1,26 @@ +# HG changeset patch +# User Arlo Breault arlolra@gmail.com +# Date 1436500709 25200 +# Thu Jul 09 20:58:29 2015 -0700 +# Node ID 1464e4f7b9d0578859a3c25b55b096be83c782a7 +# Parent dfe08be4ec2350ca30eb7bc9f95f0ab363f25a10 +Set NSDisablePersistence to prevent disk leaks. + +diff --git a/im/app/macbuild/Contents/Info.plist.in b/im/app/macbuild/Contents/Info.plist.in +--- a/im/app/macbuild/Contents/Info.plist.in ++++ b/im/app/macbuild/Contents/Info.plist.in +@@ -25,12 +25,14 @@ + <key>CFBundleVersion</key> + <string>%APP_VERSION%</string> + <key>NSAppleScriptEnabled</key> + <true/> + <key>LSMinimumSystemVersion</key> + <string>10.6.0</string> + <key>NSSupportsAutomaticGraphicsSwitching</key> + <true/> ++ <key>NSDisablePersistence</key> ++ <true/> + <key>NSPrincipalClass</key> + <string>GeckoNSApplication</string> + </dict> + </plist>
tor-commits@lists.torproject.org