Keeping one listener (processes?)
Dimitri Simos <
dim@...>
2003-12-05 20:39:35 GMT
I need to run with just one listener, so that if the user closes it
it gets replaced automatically. I've been doing this
for awhile, and it's worked fine:
(defmethod window-close :after ((w listener))
(unless (or ccl::*quitting*
(windows :class 'listener))
(ccl::make-new-listener)))
However, with OSX - MCL5.0 I'm finding that if you close the
listener fast a few times (clicking the red button in rapid
succession, preferably with a window behind it so you don't
drop into the finder when you miss), you will end up crashing.
This action seems to pick up dead processes on the way, if you check
the value of *all-processes*.
If you only pick up one dead process, MCL slows down *a lot*, if it's
more it crashes.
Any suggestions? (bearing in mind I'm not really process-educated!)
Dimitri
--
--
Dr Dimitri Simos http://www.lissys.demon.co.uk
___________________________________________________________________
Lissys Ltd.
(Continue reading)