libubus: fix processing queued messages after blocking requests
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
7b79b6226e
commit
2d660c519d
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ int ubus_complete_request(struct ubus_context *ctx, struct ubus_request *req,
|
|||
if (!registered) {
|
||||
uloop_fd_delete(&ctx->sock);
|
||||
|
||||
if (ctx->stack_depth)
|
||||
if (!ctx->stack_depth)
|
||||
ctx->pending_timer.cb(&ctx->pending_timer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue