trevordevore / levure

Application development framework for LiveCode
MIT License
32 stars 14 forks source link

Crash on macOS 10.14 when initializing preferences #131

Closed trevordevore closed 5 years ago

trevordevore commented 5 years ago

The preference.lcm file causes a crash on macOS 10.14 when calling ObjC_NSUserDefaultsInitWithSuiteName(). The issue is that the first parameter was defined as ObjcId but should be defined as ObjcRetainedId as ObjC_NSUserDefaultsAlloc() provides the value for the parameter.

trevordevore commented 5 years ago

Fixed: https://github.com/trevordevore/levure/commit/03123a19298c93e3910439c8f6c4cba8b919df8a