diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-12-27 14:30:27 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2020-01-10 11:54:34 +0100 |
commit | 1d1c6cef6039effd4c045a76d30414b589336d0e (patch) | |
tree | 3c71bd83eef9745c1c8190278be3504808089702 /wrap-json.h | |
parent | 6d828a1b309685ad7f5d74abc0162c59fbbd3304 (diff) |
timer: Fix stopping a running timericefish_8.99.5icefish/8.99.58.99.5
This fix a bug where using 1 don't stop the timer to trigger
and now TimerStop really stop the timer...
sd_event_source_unref only decrement the ref counter of the
sd_event_source. If we want to stop returning -1 in the callback
will make sure we effectively stop the timer instead of only
decrement the ref counter.
Bug-AGL: SPEC-3073
Change-Id: I4619ff1695c398a7c9683b58bd193b8c21b9abb1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'wrap-json.h')
0 files changed, 0 insertions, 0 deletions