projects
/
profile
/
tv
/
apps
/
native
/
screen-reader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbf9202
)
cache: return error on cache invalid usage
author
Lukasz Stanislawski
<l.stanislaws@samsung.com>
Fri, 26 Jun 2015 18:25:41 +0000
(20:25 +0200)
committer
Lukasz Stanislawski
<l.stanislaws@samsung.com>
Fri, 26 Jun 2015 18:25:41 +0000
(20:25 +0200)
Change-Id: I1178244aeaa75ab3213ce81eddbe4e011da52789
src/object_cache.c
patch
|
blob
|
history
diff --git
a/src/object_cache.c
b/src/object_cache.c
index
454392c
..
3051847
100644
(file)
--- a/
src/object_cache.c
+++ b/
src/object_cache.c
@@
-194,6
+194,11
@@
void
object_cache_build_async(AtspiAccessible *root, int bulk_size, ObjectCacheReadyCb cb, void *ud)
{
DEBUG("START");
+ if (idler)
+ {
+ ERROR("Invalid usage. Async cache build is ongoing...");
+ return;
+ }
_object_cache_free_internal();
callback = cb;