osx - Objects are being released when compiling to macOS X -
i'm rewriting app os x (which running in virtualbox). when compile objects released. i'm novice programmer , first mac app, i'm not sure problem.
i have installed rad paserver os x. in terminal next error messages:
__nsautoreleasenopool(): object 0x4237a10 of class nspathstore2 autoreleased no pool in place - leaking __nsautoreleasenopool(): object 0x664dc3c of class nscfstring autoreleased no pool in place - leaking
these 2 examples of big variety or error messages, start __nsautoreleasenopool().
rad studio xe-5 doesn't give error messages when compiling os x or win32 target platform.
i hope have informed sufficiently.
update:
i have added tcalendaredit form. when click on in os x, programme crashes , next runtime error message in paserver terminal:
malloc: *** error object 0x127e99d4: wrong checksum freed object - object modified after beingness freed.
update 2:
it seems not every object released. code works:
procedure tform4.button1click(sender: tobject); begin label1.text := 'bladibla'; end;
and when recreate tcalendaredit functionality way, fine:
var calendarbutton: tbutton; procedure tform4.button7click(sender: tobject); begin calendar1.visible := true; calendar1.position.x := button7.position.x; calendarbutton := button7; end; procedure tform4.calendar1dateselected(sender: tobject); begin if calendarbutton = button6 button6.text := datetostr(calendar1.date); if calendarbutton = button7 button7.text := datetostr(calendar1.date); calendar1.visible := false; end;
osx delphi osx-snow-leopard delphi-xe5
No comments:
Post a Comment