--- profiles/network/server.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/profiles/network/server.c b/profiles/network/server.c index 1b9989d..cfad893 100644 --- a/profiles/network/server.c +++ b/profiles/network/server.c @@ -611,6 +611,8 @@ static void server_disconnect(DBusConnection *conn, void *user_data) { struct network_server *ns = user_data; + server_remove_sessions(ns); + ns->watch_id = 0; if (ns->record_id) { -- 1.7.8.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html