ucode: fix an issue in exception handling improvement for ubus/uloop
Remove an uloop_end() call from a user cb that wasn't there before Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
d2b2670937
commit
77b9393d2f
1 changed files with 0 additions and 9 deletions
|
@ -51,15 +51,6 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||
uc_ubus_call_user_cb(uc_ubus_deferred_t *defer, int ret, uc_value_t *reply)
|
||||
{
|
||||
uc_value_t *this = ucv_get(defer->res);
|
||||
@@ -587,7 +621,7 @@ uc_ubus_call_user_cb(uc_ubus_deferred_t
|
||||
uc_vm_stack_push(vm, ucv_int64_new(ret));
|
||||
uc_vm_stack_push(vm, ucv_get(reply));
|
||||
|
||||
- if (uc_vm_call(vm, true, 2) == EXCEPTION_NONE)
|
||||
+ if (uc_ubus_vm_call(vm, true, 2))
|
||||
ucv_put(uc_vm_stack_pop(vm));
|
||||
}
|
||||
|
||||
@@ -623,10 +657,8 @@ uc_ubus_call_data_user_cb(struct ubus_re
|
||||
uc_vm_stack_push(vm, ucv_get(func));
|
||||
uc_vm_stack_push(vm, ucv_get(reply));
|
||||
|
|
Loading…
Reference in a new issue