thanks, but it's already in the trunk

On Thursday, June 13, 2019, Tobias Giesen via lazarus <
[email protected]> 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 <[email protected]> wrote:
>
> > On Wed, Jun 12, 2019 at 11:48 AM Zoë Peterson via lazarus <
> > [email protected]> 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
> [email protected]
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-- 
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to