main-afb-daemon: Remove call to "nice"
[src/app-framework-binder.git] / src / afb-api-so-v3.c
index 415c13d..b02f3c8 100644 (file)
@@ -59,7 +59,7 @@ static int init(void *closure, struct afb_api_x3 *api)
        }
 
        if (rc >= 0 && a->entry)
-               rc = a->entry(api);
+               rc = afb_api_v3_safe_preinit(api, a->entry);
 
        if (rc >= 0)
                afb_api_x3_seal(api);