[Cuis-dev] Avoid nil as key in ActionMaps
Juan Vuletich
juan at cuis.st
Wed Jun 17 11:52:01 PDT 2026
Integrated.
Thanks,
On 2026-06-17 11:41 AM, Hernán Wilkinson via Cuis-dev wrote:
> Hi,
> attached is a fix for DebuggerWindow>>#model: that avoids registering
> events to nil.
> To reproduce the error, just send a not understood message to an
> object, create a method for that message and close the debugger. Then,
> inspect the ActionsMaps of ActiveModel and you will see nil as key.
> The problem with having nil as a key is that it will never be reclaimed.
> Cheers!
> Hernan.
> --
> *Hernán Wilkinson
> Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260617/68d8958f/attachment.htm>
More information about the Cuis-dev
mailing list