On 14 April 2013 20:41, Sven Van Caekenberghe <s...@stfx.eu> wrote:
>
> On 14 Apr 2013, at 20:36, Igor Stasenko <siguc...@gmail.com> wrote:
>
>> On 14 April 2013 20:33, Sven Van Caekenberghe <s...@stfx.eu> wrote:
>>>
>>> On 14 Apr 2013, at 20:24, Igor Stasenko <siguc...@gmail.com> wrote:
>>>
>>>> Another strange thing, which i discovered is deferredStartupActions,
>>>> is not empty in my image..
>>>>
>>>> (you can check it by inspecting Smalltalk variable)
>>>>
>>>> an OrderedCollection([self managedServers
>>>>              do: [:each | each start]])
>>>>
>>>> Sven, please check this. Maybe it is my image..
>>>
>>> Euh, yes, that is what ZnServer class>>#startUp: does.
>>> There is even a comment.
>>> I don't remember why it is done this way, I guess someone suggested it to 
>>> me.
>>> Is there anything wrong with that ?
>>>
>> yes. the code by itself looks quite harmless.
>> but i don't understand why deferredStartupActions list is not empty
>> (it should be empty, and stay empty once image finished startup)
>
> OK, you mean that once a deferred action is executed, it should be removed 
> from the list.
> If the list is not empty, that seems like an internal problem.
>
it seems so.. because nothing cleaning it after..
in #executeDeferredStartupActions:

(https://pharo.fogbugz.com/default.asp?10287)

-- 
Best regards,
Igor Stasenko.

Reply via email to