From ab90fac4e4c306f47ab0903b33d1b3aacb228c46 Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 25 Dec 2015 23:33:26 +0100 Subject: destroy agents on disconnection --- sappeer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sappeer.h') diff --git a/sappeer.h b/sappeer.h index ffddea4..1c477c4 100644 --- a/sappeer.h +++ b/sappeer.h @@ -19,6 +19,7 @@ class SAPPeer : public QObject Q_OBJECT public: explicit SAPPeer(SAProtocol::Role role, const QString &localName, const QString &peerName, QObject *parent = 0); + ~SAPPeer(); SAPConnection* createServiceConnection(const QString &profile, const QString &requesterProfile, SAPServiceInfo::Role requesterRole); bool terminateServiceConnection(const QString &profile, const QString &requesterProfile, SAPServiceInfo::Role requesterRole); -- cgit v1.2.3