Details
-
Type:
Defect
-
Status: Closed
-
Priority:
Minor
-
Resolution: Released
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Environment:Second Life 3.7.13 (292225) Jul 22 2014 00:21:43 (Second Life Release)
Release Notes
CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz (2300 MHz)
Memory: 8192 MB
OS Version: Mac OS X 10.10.0 Darwin 14.0.0 Darwin Kernel Version 14.0.0: Tue Jul 29 16:22:25 PDT 2014; root:xnu-2782.1.62~4/RELEASE_X86_64 x86_64Second Life 3.7.13 (292225) Jul 22 2014 00:21:43 (Second Life Release) Release Notes CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz (2300 MHz) Memory: 8192 MB OS Version: Mac OS X 10.10.0 Darwin 14.0.0 Darwin Kernel Version 14.0.0: Tue Jul 29 16:22:25 PDT 2014; root:xnu-2782.1.62~4/RELEASE_X86_64 x86_64
-
Patch attached:Patch attached
-
Branch/Repo Fixed In:
Description
applicationShouldTerminate, a cocoa specific function used when terminating the viewer on Mac OS X has the wrong return type. This causes the viewer to keep the system from restarting when the viewer is running. See https://developer.apple.com/library/mac/documentation/cocoa/reference/NSApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/NSApplicationDelegate/applicationShouldTerminate:
Consequences of the breakage, because the return value is being cast to the wrong enum, Second Life does not give OS X the go ahead to shutdown the viewer during OS reboots and system/driver updates. In many cases, such as input failure, this makes it impossible to restart the computer without resorting to a hard reboot.
Repo with the fix attached.