[Interest] QDBusConnection::sessionBus() : caching required?
Thiago Macieira
thiago.macieira at intel.com
Tue May 31 22:26:04 CEST 2016
On terça-feira, 31 de maio de 2016 21:27:59 BRT René J.V. Bertin wrote:
> just like the ctor does when setting up DBus. Is that correct practice or
> should one somehow cache the result of sessionBus() in order to call it
> only once?
It's not correct practice.
The problem is attempting to use QtDBus during global destruction. Apparently
QtDBus has already destroyed its internals.
I can add a few protections for that.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list