[Qt-interest] ending an application while blocking sessionBus.call(QDbusMessage)

Gheorghe Marinca gheorghe.marinca at googlemail.com
Mon Sep 13 15:59:53 CEST 2010


Hi,

I have an up and sometimes see random strange crashes that might not
indicate the culprit.
I use DBUS in blocking fashion:

QDbusConnection sessionBus = QDbusConnection::sessionBus();
if ( sessionBus.isConnected() )
{
     QDbusMessage serviceInfoCall = QDBusMessage::createMethodCall( service,
OBJ_PATH, INTERFACE, METHOD);
     QDBusMessage reply = sessionBuss.call ( serviceInfoCall )
...
}

Can we reliably post a quit message on application while sessionBuss.call (
serviceInfoCall ) is progressing, or during that time there is not possible
for quit message to get posted on the message loop ?

Thanks,
-Ghita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100913/85fe4201/attachment.html 


More information about the Qt-interest-old mailing list