kill killhelper in client destructor
BUG: 305157 FIXED-IN: 4.9.1 REVIEW: 106022
This commit is contained in:
parent
c3bce7c246
commit
0d6cee6ccc
1 changed files with 4 additions and 0 deletions
|
@ -208,6 +208,10 @@ Client::Client(Workspace* ws)
|
||||||
*/
|
*/
|
||||||
Client::~Client()
|
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);
|
//SWrapper::Client::clientRelease(this);
|
||||||
#ifdef HAVE_XSYNC
|
#ifdef HAVE_XSYNC
|
||||||
if (syncRequest.alarm != None)
|
if (syncRequest.alarm != None)
|
||||||
|
|
Loading…
Reference in a new issue