diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-09-12 14:48:56 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-09-12 16:01:12 -0700 |
commit | da33321e5c5cd5adce81b61140b9d8697cfbf7b9 (patch) | |
tree | 1b05aee96f2c48dc04f30bcbd49be9197f64f0d1 /binding/afm-gps-binding.c | |
parent | f5e242dfba3aac24b8d9aceffa9442b1ca71a2b5 (diff) |
binding: gps: use _exit instead of abort()
Use threadsafe _exit() instead of abort() to have more clean
logs. This avoid a confusing and unused backtrace from the
AGL framework.
Bug-AGL: SPEC-844
Change-Id: Ia3fb3b5cb1e0a8afdfd69dad525fb279ea51ce2b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/afm-gps-binding.c')
-rw-r--r-- | binding/afm-gps-binding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/afm-gps-binding.c b/binding/afm-gps-binding.c index e00a317..cadc6d2 100644 --- a/binding/afm-gps-binding.c +++ b/binding/afm-gps-binding.c @@ -166,7 +166,7 @@ static void *data_poll(void *ptr) gps_stream(&data, WATCH_DISABLE, NULL); gps_close(&data); - abort(); + _exit(0); return NULL; } |