kill killhelper in client destructor

BUG: 305157
FIXED-IN: 4.9.1
REVIEW: 106022
This commit is contained in:
Thomas Lübking 2012-08-14 21:22:30 +02:00
parent f7d1c1d14c
commit a84cfb3a49

View file

@ -210,6 +210,10 @@ Client::Client(Workspace* ws)
*/
Client::~Client()
{
if (m_killHelperPID && !::kill(m_killHelperPID, 0)) { // means the process is alive
::kill(m_killHelperPID, SIGTERM);
m_killHelperPID = 0;
}
//SWrapper::Client::clientRelease(this);
#ifdef HAVE_XSYNC
if (syncRequest.alarm != None)