Another attempted fix for WebView/WebCore crashing issue. Thx Rob Middleton.

git-svn-id: http://munki.googlecode.com/svn/trunk@1156 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2011-05-02 15:27:54 +00:00
parent 57fa34e0fe
commit eeec63aaa5
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0.15</string>
<string>3.0.16</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.0.15</string>
<string>3.0.16</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>
@@ -206,11 +206,16 @@ class MSUStatusWindowController(NSObject):
self.window.orderOut_(self)
self.session_started = False
self.session_connected = False
NSApp.delegate().munkiStatusSessionEnded_(socketSessionResult)
#NSApp.delegate().munkiStatusSessionEnded_(socketSessionResult)
self.performSelectorOnMainThread_withObject_waitUntilDone_(
self.socketEnded_,socketSessionResult, NO)
# Clean up autorelease pool
del pool
def socketEnded_(self, socketSessionResult):
NSApp.delegate().munkiStatusSessionEnded_(socketSessionResult)
def processSocketMsg_(self, message):
if message.startswith(u"ACTIVATE: "):
NSApp.activateIgnoringOtherApps_(True)