osaf/services/saf/avsv/avnd/avnd_susm.c |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


diff --git a/osaf/services/saf/avsv/avnd/avnd_susm.c 
b/osaf/services/saf/avsv/avnd/avnd_susm.c
--- a/osaf/services/saf/avsv/avnd/avnd_susm.c
+++ b/osaf/services/saf/avsv/avnd/avnd_susm.c
@@ -1923,6 +1923,10 @@ uint32_t avnd_su_pres_inst_suterm_hdler(
                for (curr_comp = 
m_AVND_COMP_FROM_SU_DLL_NODE_GET(m_NCS_DBLIST_FIND_LAST(&su->comp_list));
                     curr_comp;
                     curr_comp = 
m_AVND_COMP_FROM_SU_DLL_NODE_GET(m_NCS_DBLIST_FIND_PREV(&curr_comp->su_dll_node)))
 {
+
+                       if (curr_comp->pres == SA_AMF_PRESENCE_UNINSTANTIATED)
+                               continue;
+
                        /* terminate the pi comp */
                        if (m_AVND_COMP_TYPE_IS_PREINSTANTIABLE(curr_comp)) {
                                TRACE("Running the component clc FSM, terminate 
the component");
@@ -2283,6 +2287,10 @@ uint32_t avnd_su_pres_terming_compuninst
                for (curr_comp = 
m_AVND_COMP_FROM_SU_DLL_NODE_GET(m_NCS_DBLIST_FIND_PREV(&comp->su_dll_node));
                     curr_comp;
                     curr_comp = 
m_AVND_COMP_FROM_SU_DLL_NODE_GET(m_NCS_DBLIST_FIND_PREV(&curr_comp->su_dll_node)))
 {
+
+                       if (curr_comp->pres == SA_AMF_PRESENCE_UNINSTANTIATED)
+                               continue;
+
                        /* terminate the pi comp */
                        if (m_AVND_COMP_TYPE_IS_PREINSTANTIABLE(curr_comp)) {
                                TRACE("Running the component clc FSM");

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to