libtcore sync from private git
authorKo Hayoon <hayoon.ko@samsung.com>
Wed, 5 Sep 2012 01:31:57 +0000 (10:31 +0900)
committerKo Hayoon <hayoon.ko@samsung.com>
Wed, 5 Sep 2012 01:31:57 +0000 (10:31 +0900)
src/co_ps.c

index 03e47c8..c259ed8 100644 (file)
@@ -267,6 +267,7 @@ TReturn tcore_ps_remove_context(CoreObject *o, CoreObject *ctx_o)
        if (!po)
                return TCORE_RETURN_EINVAL;
 
+       tcore_ps_clear_context_id(o, ctx_o);
        po->context_list = g_slist_remove(po->context_list, ctx_o);
 
        return TCORE_RETURN_SUCCESS;