March 28, 2016
7:29 p.m.
Hi aliaksei I do not know. Now I know that last week guille was trying to understand memory leaks and they all were around Weak structures Stef Le 28/3/16 21:08, Aliaksei Syrel a écrit :
Assume we have the following weak message send:
message := WeakMessageSend receiver: Morph new selector: #color. 100000 timesRepeat: [ message value ]
If you execute it in latest Pharo and VM you will (almost 100% sure) get DNU. (but it should just return nil if receiver is garbage collected)
How can I ensure that it selector is not being sent to nil?
http://ws.stfx.eu/6QOWBLQENVIY
Am I doing something wrong? _ _ Cheers, Alex