Index: src/connection.cpp =================================================================== --- src/connection.cpp (revision 2083) +++ src/connection.cpp (working copy) @@ -148,6 +148,7 @@ */ Connection::~Connection() { + qDebug() << "TapiocaQt: Connection::~Connection(): called."; delete d; } @@ -400,7 +401,9 @@ static_cast(reason)); if (status == Disconnected) { /* we are no longer valid */ - deleteLater(); + qDebug() << "QtTapioca: Connection::onStatusChanged(): deleteLater about to be called"; + // this->deleteLater(); + qDebug() << "QtTapioca: Connection::onStatusChanged(): deleteLater has been called"; } } @@ -409,6 +412,7 @@ */ void Connection::onChannelDestroyed() { + qDebug() << "QtTapioca: Connection::onChannelDestroyey(): method called."; Channel *channel = static_cast(sender()); d->channels.remove(channel->objectPath()); }