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 c3bce7c246
commit 0d6cee6ccc

View file

@ -208,6 +208,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)