This repository has been archived by the owner on Nov 10, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add remove observer logic when delete resource.
In case of deleting resource using oc_delete_resource(), add remove observer logic in delete resource logic. If observer is not removed when delete resource, it will occur crash when remove every observers from shutdown(because observer has resource pointer in their member struct). Change-Id: Ic71b90b76fce43df2ca7d8aa2a3904d892959044 Signed-off-by: Jaehyun Cho <jaehyun3.cho@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/26575 Tested-by: IoTivity Jenkins <jenkins-daemon@iotivity.org> Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com> Reviewed-by: Kishen Maloor <kishen.maloor@intel.com>
- Loading branch information
1 parent
da62cb7
commit 22bbbc9
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters