Parent: 99cb1dbc8f85ba0b78597e03b655ee6348c624fa
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-11-14 10:58:08
Tree: 27338dd0dcb2c36bc50c31742ec1e9dca70f813d
core: Fix manager_cleanup order This patch fixes the order in which things are cleaned up in manager_cleanup. The profiles need to be cleaned up first (since they are higher level constructs than adapters and devices) and we cannot remove the adapter from the manager list before calling adapter_remove since functions within adapter_remove may remove service records which in turn relies on having the adapter present in the manager list.
Diffstat
| M | src/manager.c | | | 6 | +++- - - |
1 files changed, 3 insertions(+), 3 deletions(-)