[Cuis-dev] Strange behavior with stepping

Hilaire Fernandes hilaire at drgeo.eu
Sun Aug 22 03:12:15 PDT 2021


By encapsulating in the message suggested by Phil I get the expected 
behavior.. Thanks for the tip.

Likely there is a race condition as I reset frequently the 
stillMouseDown step handler.

Nevertheless method running the steps should be safer.

Hilaire

Le 21/08/2021 à 19:22, Phil B a écrit :
> If that is the issue, I think there's a larger problem to be solved.  
> Morphic is inherently not thread safe so you're dealing with an 
> intractable problem (short of re-architecting Morphic.)    Other than 
> marking a morph for redraw, anything else touching Morphic from a 
> background process needs to be wrapped in UISupervisor 
> whenUIinSafeState: [].
>
-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210822/bcb88c7e/attachment.htm>


More information about the Cuis-dev mailing list