diff options
Diffstat (limited to 'src/server/QXmppOutgoingServer.cpp')
| -rw-r--r-- | src/server/QXmppOutgoingServer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/QXmppOutgoingServer.cpp b/src/server/QXmppOutgoingServer.cpp index 3c57d18f..35f0eec4 100644 --- a/src/server/QXmppOutgoingServer.cpp +++ b/src/server/QXmppOutgoingServer.cpp @@ -94,6 +94,8 @@ QXmppOutgoingServer::QXmppOutgoingServer(const QString &domain, QObject *parent) check = connect(socket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>))); Q_ASSERT(check); + + incrementCounter("outgoing-server.create"); } /// Destroys the stream. @@ -101,6 +103,7 @@ QXmppOutgoingServer::QXmppOutgoingServer(const QString &domain, QObject *parent) QXmppOutgoingServer::~QXmppOutgoingServer() { + incrementCounter("outgoing-server.destroy"); delete d; } |
