projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34bd9d5
)
[FIX] apps_count cannot be lower than 0
author
Alexander Aksenov
<a.aksenov@samsung.com>
Thu, 28 Nov 2013 13:03:38 +0000
(17:03 +0400)
committer
Gerrit Code Review
<gerrit@gerrit.vlan144.tizendev.org>
Thu, 28 Nov 2013 13:37:18 +0000
(13:37 +0000)
Change-Id: I43d6bf0569147ffbd653b424b3367c252b31d76f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
daemon/daemon.c
patch
|
blob
|
history
diff --git
a/daemon/daemon.c
b/daemon/daemon.c
index
4cc569a
..
50db0fd
100644
(file)
--- a/
daemon/daemon.c
+++ b/
daemon/daemon.c
@@
-308,6
+308,7
@@
static inline void inc_apps_to_run()
static inline void dec_apps_to_run()
{
+ if (manager.apps_to_run > 0)
manager.apps_to_run--;
}