projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix an issue where the log option is applied incorrectly
[platform/upstream/connman.git]
/
src
/
task.c
diff --git
a/src/task.c
b/src/task.c
index
8b9e1d9
..
953cc40
100755
(executable)
--- a/
src/task.c
+++ b/
src/task.c
@@
-401,8
+401,7
@@
int connman_task_stop(struct connman_task *task)
if (task->pid > 0) {
kill(task->pid, SIGTERM);
if (task->pid > 0) {
kill(task->pid, SIGTERM);
- g_timeout_add_seconds(0, check_kill,
- GINT_TO_POINTER(task->pid));
+ g_idle_add(check_kill, GINT_TO_POINTER(task->pid));
}
return 0;
}
return 0;