X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fafb-monitor.c;h=9f01cc020379e51e6d5d957da9927220b2bf582e;hb=d7936bbe45900b7bb315e0504672d242b7100af5;hp=369c5bf5d4ab7fb7adbe157a2d0d42fa0909b8c1;hpb=53c7b44e96e6015a4da4f88f22e98b13cfa2e056;p=src%2Fapp-framework-binder.git diff --git a/src/afb-monitor.c b/src/afb-monitor.c index 369c5bf5..9f01cc02 100644 --- a/src/afb-monitor.c +++ b/src/afb-monitor.c @@ -28,6 +28,7 @@ #include "afb-apiset.h" #include "afb-api-so-v2.h" #include "afb-ditf.h" +#include "afb-evt.h" #include "afb-xreq.h" #include "afb-trace.h" #include "verbose.h" @@ -345,13 +346,16 @@ static void f_trace(struct afb_req req) if (add) { rc = afb_trace_add(req, add, trace); if (rc) - return; + goto end; } if (drop) { rc = afb_trace_drop(req, drop, trace); if (rc) - return; + goto end; } afb_req_success(req, NULL, NULL); +end: + afb_apiset_update_hooks(main_apiset, NULL); + afb_evt_update_hooks(); }