|
Lines 77-88
Link Here
|
| 77 |
|
77 |
|
| 78 |
DCOPObject::~DCOPObject() |
78 |
DCOPObject::~DCOPObject() |
| 79 |
{ |
79 |
{ |
| 80 |
DCOPClient *client = DCOPClient::mainClient(); |
80 |
if ( d ) { |
| 81 |
if ( d->m_signalConnections > 0 && client ) |
81 |
DCOPClient *client = DCOPClient::mainClient(); |
| 82 |
client->disconnectDCOPSignal( 0, 0, 0, objId(), 0 ); |
82 |
if ( d->m_signalConnections > 0 && client ) |
|
|
83 |
client->disconnectDCOPSignal( 0, 0, 0, objId(), 0 ); |
| 83 |
|
84 |
|
| 84 |
objMap()->remove(ident); |
85 |
objMap()->remove(ident); |
| 85 |
delete d; |
86 |
delete d; |
|
|
87 |
} |
| 86 |
} |
88 |
} |
| 87 |
|
89 |
|
| 88 |
DCOPClient *DCOPObject::callingDcopClient() |
90 |
DCOPClient *DCOPObject::callingDcopClient() |