From fbe5a254d854cf3648dbd561fa428373a652e88e Mon Sep 17 00:00:00 2001 From: George Nash Date: Fri, 22 Jan 2016 09:36:23 -0800 Subject: [PATCH] Updated documentation for BundleActivator::destroyResource The documentation said that the destroyResource destroys and registers the the resource. It should unregister the resource then destroy. Change-Id: Ib9f628097a89f87bbb8e20f4ba562dc687d4cebe Signed-off-by: George Nash Reviewed-on: https://gerrit.iotivity.org/gerrit/4851 Tested-by: jenkins-iotivity Reviewed-by: Markus Jung Reviewed-by: Uze Choi --- service/resource-container/bundle-api/include/BundleActivator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/resource-container/bundle-api/include/BundleActivator.h b/service/resource-container/bundle-api/include/BundleActivator.h index 928a8fb..5a69fb1 100644 --- a/service/resource-container/bundle-api/include/BundleActivator.h +++ b/service/resource-container/bundle-api/include/BundleActivator.h @@ -79,7 +79,7 @@ namespace OIC virtual void createResource(resourceInfo resourceInfo) = 0; /** - * Destroy Bundle Resource instance and register the resource in the container + * Unregister the resource in the container and destroy the Bundle Resource * * @param pBundleResource Bundle resource to be destroyed * -- 2.7.4