[Cuis-dev] Problem using #when:send:to:with:
Hernan Wilkinson
hernan.wilkinson at 10pines.com
Mon May 13 04:54:15 PDT 2019
Hi Phil,
the problem is that the notification framework uses weak references to
avoid "memory leaks" (or should we call them object leaks? :-) )
So, when you install MyChangeMonitor as listener because it does not have
other references is collected by the GC.
If you inspect "m:=MyChangeMonitor new" instead of just doing it, it will
work... I just tried and worked but there is an error in how you are using
the #when:send:...
I hope this helps
Hernan.
On Wed, May 8, 2019 at 9:55 PM Phil B via Cuis-dev <cuis-dev at lists.cuis.st>
wrote:
> I'm not seeing what I'm doing wrong here and hoping someone can enlighten
> me. If you filein the attached changeset, in a workspace doIt:
> 'm:=MyChangeMonitor new', then in a browser edit and save any method... why
> is this failing?
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
--
*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/20190513/4d6d3ff2/attachment.html>
More information about the Cuis-dev
mailing list