[Cuis-dev] Avoid nil as key in ActionMaps
Hernán Wilkinson
hernan.wilkinson at 10pines.com
Wed Jun 17 07:41:57 PDT 2026
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 WilkinsonAgile 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260617/ae05f1a4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8002-CuisCore-HernanWilkinson-2026Jun16-18h00m-HAW.001.cs.st
Type: application/octet-stream
Size: 332 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260617/ae05f1a4/attachment.obj>
More information about the Cuis-dev
mailing list