summaryrefslogtreecommitdiffstats
path: root/parameter/SystemClass.h
diff options
context:
space:
mode:
authorPatrick Benavoli <patrick.benavoli@intel.com>2014-07-03 22:30:44 +0200
committerPhilippe Afonso <philippex.afonso@intel.com>2015-02-18 11:13:26 +0100
commit79694d5d0a632ed4ca04ea42f19fb09c3fba0cdb (patch)
tree11ad0993e9e4ac9f215f3aacba0857c801f8c1c0 /parameter/SystemClass.h
parent822d0a70b3a2a4f862d01fa6c0194a406708bf63 (diff)
downloadexternal_parameter-framework-79694d5d0a632ed4ca04ea42f19fb09c3fba0cdb.zip
external_parameter-framework-79694d5d0a632ed4ca04ea42f19fb09c3fba0cdb.tar.gz
external_parameter-framework-79694d5d0a632ed4ca04ea42f19fb09c3fba0cdb.tar.bz2
Delete subsystem instances *before* plugin unload
BZ: 208504 Before this patch there was a crash in CElement destructor in Ubuntu upon destuction of parameter framework instance. The crash was caused by the attempt to call unmapped code: The subsystem plugin libraries were getting unloaded before the execution of the subsystem destructors. Note: In Android the issue is not seen since library unload is not implemented. This patch ensures SystemClass destructor destroys the subsystems explicitely unloading the plugins. Change-Id: I19dad262b384bdbd63c7c319a41a5d547d0e75e9 Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com>
Diffstat (limited to 'parameter/SystemClass.h')
-rw-r--r--parameter/SystemClass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parameter/SystemClass.h b/parameter/SystemClass.h
index 3ffbf25..b5bce45 100644
--- a/parameter/SystemClass.h
+++ b/parameter/SystemClass.h
@@ -111,6 +111,6 @@ private:
// Subsystem factory
CSubsystemLibrary* _pSubsystemLibrary;
- std::list<void*> _subsystemLibraries; /**< Contains the list of all open plugin libs. */
+ std::list<void*> _subsystemLibraryHandleList; /**< Contains the list of all open plugin libs. */
};