- TC: ITc_iotcon_remote_resource_get_cached_representation_p
- Although find callback is removed, sometimes callback is called
- it is caused by timing issue
- So, need to double-check callback pointer
Change-Id: I0f6e95cd527cac349f04bc47d29cdee021c268f5
Name: iotcon
Summary: Tizen IoT Connectivity
-Version: 0.3.9
+Version: 0.3.10
Release: 0
Group: Network & Connectivity/Service
License: Apache-2.0
resource = resource_list->data;
resource->is_found = true;
cb = (iotcon_found_resource_cb)cb_data->cb;
+ if (NULL == cb) {
+ WARN("It is already stopped");
+ return G_SOURCE_REMOVE;
+ }
INFO("Call the callback");
if (IOTCON_FUNC_STOP == cb(resource, IOTCON_ERROR_NONE, cb_data->user_data)) {
/* Stop */