From: Felix Fietkau Date: Fri, 3 Feb 2017 17:39:11 +0000 (+0100) Subject: libubus: do not modify uloop_cancelled X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=91acde66b963e238aba35fb4f2030a147df84cd4;hp=91acde66b963e238aba35fb4f2030a147df84cd4;p=project%2Fubus.git libubus: do not modify uloop_cancelled uloop_cancelled was used for two purposes within ubus_complete_request: - interrupting recursive requests on SIGINT/SIGTERM - breaking out of the poll loop in a recursive request that completed Saving/restorung uloop_cancelled was buggy, leading to SIGTERM not being processed properly. Simplify the logic by using a separate field for internal use Signed-off-by: Felix Fietkau ---