Updated documentation for BundleActivator::destroyResource
authorGeorge Nash <george.nash@intel.com>
Fri, 22 Jan 2016 17:36:23 +0000 (09:36 -0800)
committerUze Choi <uzchoi@samsung.com>
Thu, 28 Jan 2016 05:07:41 +0000 (05:07 +0000)
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 <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4851
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/resource-container/bundle-api/include/BundleActivator.h

index 928a8fb..5a69fb1 100644 (file)
@@ -79,7 +79,7 @@ namespace OIC
                 virtual void createResource(resourceInfo resourceInfo) = 0;
 
                 /**
                 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
                 *
                 *
                 * @param pBundleResource Bundle resource to be destroyed
                 *