[problem] A rare event that will probably continue to happen until we do
some rewrites is firing as an error.
[solution] Turn error into a warning and document why it currently
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
/**
* Queue an event with Core.
- * Pre-processing of events may be benificial e.g. a series of motion events could be throttled, so that only the last event is queued.
+ * Pre-processing of events may be beneficial e.g. a series of motion events could be throttled, so that only the last event is queued.
* Multi-threading note: this method should be called from the main thread.
* @param[in] event The new event.
*/
}
else
{
- DALI_LOG_ERROR("ResourceManager::LoadResponse() received a stray load notification for a resource whose loading is not being tracked: (id:%u, status=%s)\n", id, loadStatus==RESOURCE_LOADING?"LOADING":loadStatus==RESOURCE_PARTIALLY_LOADED?"PARTIAL":"COMPLETE");
+ // This warning can fire if a cancelled load is forgotten here while already complete on a resource thread:
+ DALI_LOG_WARNING( "Received a notification for an untracked resource: (id:%u, status=%s)\n", id, loadStatus==RESOURCE_LOADING?"LOADING":loadStatus==RESOURCE_PARTIALLY_LOADED?"PARTIAL":"COMPLETE");
}
}