broken KProcess in HEAD

Martijn Klingens klingens at
Sat Jul 19 18:09:15 BST 2003

On Saturday 19 July 2003 17:31, Gav Wood wrote:
> > - you are leaking the kprocess
> again should be more or less fixed. is there a clean way to delete the
> instance once the process has exited or it is ok to "delete p" from the
> slot that handles the signal processExitted(KProcess *p)?

p->deleteLater() is the safest bet. It deletes as soon as you re-enter the 
event loop.


More information about the kde-core-devel mailing list