mirror of
https://github.com/munki/munki.git
synced 2026-04-21 20:18:20 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user