diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2019-04-09 17:52:22 +0200 |
---|---|---|
committer | Frederic Marec <frederic.marec@iot.bzh> | 2019-10-15 09:26:33 +0200 |
commit | 5c3503e35c1b883e97ed6874f7683d0a7b5938b7 (patch) | |
tree | b60edf018576488f271f588be86202aba93b7638 /src/aft.c | |
parent | 993277e2c6c842b3344b486eb934c1bcb1156aed (diff) |
Fix event management in test frameworkicefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.38.99.28.99.1
Fix event receive
Fix event not receive
Fix lockwait event
Remove trailing indentation
Bug-AGL: SPEC-2374
Change-Id: Ie64b23c242bc13dcf7af96ff3ed2316bf6cad5f7
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'src/aft.c')
-rw-r--r-- | src/aft.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,7 +39,8 @@ static void onTraceEvent(void *closure, const char *event, json_object *data, af */ pthread_mutex_lock(&memo_lock); if(memo_sync) { - afb_req_reply(memo_sync, json_object_get(data), NULL, event);afb_req_unref(memo_sync); + afb_req_reply(memo_sync, json_object_get(data), NULL, event); + afb_req_unref(memo_sync); memo_sync = NULL; } pthread_mutex_unlock(&memo_lock); |