[Lazarus] Modal Window Crashes on Mac OS X 10.15 Beta (Catalina)

Dmitry Boyarintsev skalogryz.lists at gmail.com
Thu Jun 13 19:42:38 CEST 2019


thanks, but it's already in the trunk

On Thursday, June 13, 2019, Tobias Giesen via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> Hello,
> I found that the code must be corrected like this to avoid an Access
> Violation if an event occurs before the aloop field is set.
>
>   if Assigned(aloop) and not isrun then begin
>      isrun:=true;
>      Result:=nil;
>      aloop();
>      terminate(nil);
>      exit;
>      end;
>
> Kind Regards,
>
> Tobias Giesen
> Super Flexible Software GmbH & Co. KG
>
> ----
>
> On Wed, 12 Jun 2019 15:10:17 -0400
> Dmitry Boyarintsev via lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
> > On Wed, Jun 12, 2019 at 11:48 AM Zoë Peterson via lazarus <
> > lazarus at lists.lazarus-ide.org> wrote:
> >
> > > "Swizzling" is the name for replacing the Objective C method pointers
> > > using method_exchangeImplementations.  It's not the same as
> overriding it.
> > >
> >
> > Quite an interesting technique. I'm quite confident it's being heavily
> used
> > for Javascript.
> > (I guess it's somewhat natural for reflective languages to use it)
> >
> > Though I'd consider going that low level as a last resort, rather than a
> > permanent solution.
> >
> > thanks,
> > Dmitry
>
> Kind Regards,
> Tobias Giesen
>
> Super Flexible Software GmbH & Co. KG
> Buddenstr. 29-31
> 48143 Münster, Germany
> www.superflexible.com
> www.tgtools.com
>
> -----------------------------------------------------------
> Registered at register court Münster as HRA 9716
> Liability / general partner: TGTools GmbH
> Registered at register court Münster as HRB 17763
> Directors: Tobias Giesen and Claudia Giesen
>
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190613/b3eb750c/attachment.html>


More information about the lazarus mailing list