[Cuis-dev] Follow-up: #terminate and #suspend update

Juan Vuletich juan at cuis.st
Tue Feb 28 08:19:15 PST 2023


Hi Jaromir,

On 2/24/2023 6:22 PM, Jaromir Matas via Cuis-dev wrote:
>
> Hi Juan,
>
> > Not sure why you removed the `push: nil` in #unwindAndStop:
>
> I haven't; #unwindAndStop: was not part of the latest changeset, the 
> previous version probably sneaked back in somehow :) The correct 
> version is included in the attached changeset.
>

That was most likely my mistake. Apologies for the noise.

> The attached is mostly polishing up, but also a few small bugfixes:
>
> #contextOn:do: ... the same bug as in #contextEnsure:
>
> #unwindTo:safely: ... a missing nil check (dealing with: [] ensure: 
> nil); a corresponding test included
>
> #runUntilErrorOrReturnFrom: ... a missing nil check (discovered in a 
> Squeak example but relevant for Cuis too)
>

Integrated. Thank you!

> Maybe we could remove the methods associated with my initial 
> #terminate attempt you renamed to #terminateFromForkedProcess. But 
> it's up to you if you want to keep them for a little longer. It'd be:
>
> #terminateFromForkedProcess
>
> #complete:to:
>
> #runUnwindUntilErrorOrReturnFrom:
>

I included a cs to remove thes.

> This would be the final update in the "termination department" :)
>
> Many thanks for your always inspiring comment and suggestions!
>
> Best,
>
> Jaromir
>
> --
>
> *Jaromír Matas*
>
> mail at jaromir.net
>

Thank you very much Jaromir. You did a real service to Cuis and our 
community!
Cheers,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

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


More information about the Cuis-dev mailing list