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>
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
*