I unsure if it because of my intrusions.. but it happens second time
when i hit 'save the image'.

I can't give a textual trace, because at the moment when error
appears, image is no longer able to receive the events.

Image are saved OK, but then it going through warm startup and throws
this error.
Now i know what is wrong, and the troublemaker is my code. :)

The Delay instance of EventPollingFetcher are created just once, and
then reused in event loop.
At the time when image saved, its already scheduled in Delay, but then
new eventpolling fetcher get installed in new process, and same delay
got rescheduled , which leads to this error.

Btw, i just found that saved image, has same problems - it throws the
same error just a bit later after startup :)

One solution is to create a new delay each time we need to wait:
(Delay forMilliseconds: EventPollDelay) wait.

another, is to make sure that given delay is not scheduled, by sending
 #unschedule to it at the time when it reinitializing event fetcher.

-- 
Best regards,
Igor Stasenko AKA sig.

<<attachment: error.png>>

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to