diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2013-04-26 14:41:03 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2013-05-13 17:49:50 +0200 |
commit | 59f2c2b101f7ed1d4edf0aaf40896c091f3470fc (patch) | |
tree | 40714744a79fb5d9ed89dd9ee6d3d111fb717664 | |
parent | 4ad28f7a63ca2052be467a6fd1843a129602cbf8 (diff) |
D-Bus server: activate sessions created for incoming connections
Sessions created via the Server.Connect() API were announced via
signals, but not activated. Therefore querying their status or
aborting them via D-Bus was not possible. Found while writing the
TestHTTP.testAbortThread D-Bus test.
-rw-r--r-- | src/dbus/server/connection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus/server/connection.cpp b/src/dbus/server/connection.cpp index 1d1e87bc..79b5ef89 100644 --- a/src/dbus/server/connection.cpp +++ b/src/dbus/server/connection.cpp @@ -298,6 +298,7 @@ void Connection::process(const Caller_t &caller, peerDeviceID, config, m_sessionID); + m_session->activate(); if (serverMode) { m_session->initServer(SharedBuffer(reinterpret_cast<const char *>(message.second), message.first), |