Updating hooks is needed (at the moment) also for events.
Change-Id: If5f6259499b3d35a2fd5504185b9f751f96c4e06
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
#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"
afb_req_success(req, NULL, NULL);
end:
afb_apiset_update_hooks(main_apiset, NULL);
+ afb_evt_update_hooks();
}