bluez/obexd/client
Luiz Augusto von Dentz 95c09761fd obexd: Fix not destroying session if owner disconnects
If the owner disconnects the session should be destroyed even if the
connection is pending:

obexd/client/session.c:owner_disconnected()
obexd/client/session.c:obc_session_shutdown() 0x822abb8
obexd/client/session.c:obc_session_ref() 0x822abb8: ref=3
obexd/client/session.c:obc_session_unref() 0x822abb8: ref=2
obexd/client/bluetooth.c:transport_connect() port 19
obexd/client/bluetooth.c:transport_callback()
obexd/client/session.c:transport_func()
obexd/client/bluetooth.c:bluetooth_getpacketopt()
obexd/client/pbap.c:pbap_probe() /org/bluez/obex/client/session1
obexd/client/session.c:obc_session_ref() 0x822abb8: ref=3
obexd/client/session.c:obc_session_register() Session(0x822abb8) registered /org/bluez/obex/client/session1
obexd/client/session.c:obc_session_unref() 0x822abb8: ref=2

To fix this the code now checks if the connect callback is pending, in
that case destroy the callback releasing the reference it carrying.
2015-09-14 10:12:30 +03:00
..
bluetooth.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
bluetooth.h obexd: add bluetooth transport driver 2012-12-04 22:48:51 +01:00
dbus.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
dbus.h obexd: Remove unused D-Bus helper functions 2012-12-19 10:29:18 +02:00
driver.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
driver.h obexd/client: Add supported_features support 2014-12-02 11:36:01 +02:00
ftp.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
ftp.h obexd: add ftp target 2012-12-04 22:48:42 +01:00
manager.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
manager.h obexd: Add client prefix to client manager functions 2012-12-18 16:03:42 +02:00
map-event.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
map-event.h obexd/client: Add support for MAP Event Report 1.1 2014-09-17 11:16:37 +03:00
map.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
map.h obexd: Add basic support for MAP client in obex-client 2012-12-04 22:48:50 +01:00
mns.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
opp.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
opp.h obexd: add opp target 2012-12-04 22:48:42 +01:00
pbap.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
pbap.h obexd: add pbap target 2012-12-04 22:48:42 +01:00
session.c obexd: Fix not destroying session if owner disconnects 2015-09-14 10:12:30 +03:00
session.h obexd: Fix includes for gdbus.h header 2015-03-01 00:19:28 -08:00
sync.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
sync.h obexd: add sync target 2012-12-04 22:48:42 +01:00
transfer.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
transfer.h obexd: Add Session property to Transfer interface 2012-12-21 17:06:10 +02:00
transport.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
transport.h obexd: Add getattribute to obc_transport 2013-04-17 13:31:05 +03:00