On 18 juin 2013, at 10:05, Sven Van Caekenberghe wrote:


On 18 Jun 2013, at 09:47, Camille Teruel <camille.teruel@gmail.com> wrote:


On 18 juin 2013, at 09:32, Sven Van Caekenberghe wrote:

Hi,

It seems that https://pharo.fogbugz.com/f/cases/10760/Lots-and-Lots-of-Delay-wait-processes-die-to-Cookie-contents is closed, but the problem remains.

Yesterday I test deployed a brand new 3.0 image. It has more than 800 bogus delay related processes.



<Screen Shot 2013-06-18 at 09.30.30.png>

This is not good ;-)

The least we should do is add some script in the release/build process to kill them.

I added the following to my startup preferences:

Process allInstances do: [ :process |
process suspendedContext ifNotNil: [ :context |
context method = (Delay>>#wait) ifTrue: [ process terminate ] ] ]

OK, thanks.
But are we sure that no legitimate ones are killed ?
I am not sure, but I believe Igor's script had more tests�.

Ok I did't saw Igor's one.
Indeed mine doesn't check context sender sender sender method selector == #contents:



Sven


--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org