aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connection.cpp1
-rw-r--r--room.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index 1bd8e292..aebe7631 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -78,6 +78,7 @@ Connection::Connection()
Connection::~Connection()
{
+ qDebug() << "deconstructing connection object for" << d->userId;
delete d;
}
diff --git a/room.cpp b/room.cpp
index 5b390cea..3683781b 100644
--- a/room.cpp
+++ b/room.cpp
@@ -111,7 +111,6 @@ Room::Room(Connection* connection, QString id)
Room::~Room()
{
- qDebug() << "deconstructing room" << id();
delete d;
}