Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 290180
Collapse All | Expand All

(-)kdelibs-3.5.10/dcop/dcopobject.cpp (-5 / +7 lines)
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()

Return to bug 290180