Fwd: [Bug 64785] ksmserver fails to quit when session ended

Oswald Buddenhagen ossi at kde.org
Thu Nov 20 17:14:49 GMT 2003


On Thu, Nov 20, 2003 at 11:06:01AM +0100, Michael Matz wrote:
> Looking at the code in kprocctrl.cpp I see following problems:

> It uses a C++ method as signal handler.
>
fixed

> And it only waits for processes it knows about. 
>
intended

> (And the logic is generally a bit awkward, indirecting over a pipe).
> 
it has to be, as otherwise the signal handling becomes a nightmare. as
we want synchronicity with the qt event loop anyway, this variant is
sort of self-evident. qprocess does it the same way.

i fixed ksmserver by simply nuking the reaper - i found no fork() that
could have needed it. we'll see what happens. :)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list