[Bug 164200] Crash when call QDBusConnection::disconnectFromBus

Thiago Macieira thiago at kde.org
Mon Jun 16 09:58:21 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=164200         
thiago kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From thiago kde org  2008-06-16 09:58 -------
#include <QtDBus/QDBusConnection>
#include <QtCore/QCoreApplication>

int main(int argc, char **argv)
{
    QCoreApplication app(argc, argv);

    {
        QDBusConnection conn =
            QDBusConnection::connectToBus(QDBusConnection::SessionBus,
                                          "myconnection");
    }

    QDBusConnection::disconnectFromBus("myconnection");
}

No crash. If you have a testcase, please send to trolltech.


More information about the Kdelibs-bugs mailing list