Commit: be9a40bfc276b240530bc6b82d5bad7930c2ffee
Parent: 000014ae2be656419197aefd4792e70833233976
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:47:33
Tree: d7966f0f2ba83ca0f728f52d8237be5102bb0b4b

core: Make D-Bus connection valid for entire bluetoothd lifetime D-Bus is connected before any subsystem needs to use it and disconnected only after nothing uses it (i.e. plugins). This is to guarantee that every call to btd_get_dbus_connection() will return valid DBusConnection object so various components and plugins do not need to store it somewhere and care about ref counting.

Diffstat

M src/main.c | 14 ++++++++- - - - - -

1 files changed, 8 insertions(+), 6 deletions(-)

View Full Diff | Patch