summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/03_stdlib/61_loadstring
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2025-03-07 14:33:10 +0100
committerJo-Philipp Wich <jo@mein.io>2025-03-16 23:58:45 +0100
commitfb1da7157d138adcc4e20d41685aa6ab400bc042 (patch)
tree6cf171efb1ee4010223e1ccd87a9422d0d69c318 /tests/custom/03_stdlib/61_loadstring
parent0002684b9772ad9bb0a62e498d3556573d15b819 (diff)
ubus: remove broken implied await when calling defer() outside of uloop.run()
Calling ubus.defer() outside of uloop.run() was apparently broken since commit 1cb04f9b76e2 ("ubus: add object publishing, notify and subscribe support") from March 2022. It was supposed to block until the request completes, however it blocked forever due to a counter imbalance introduced by the above commit. These days this 'feature' is of questionable value, since req.await() exists, and there is a legitimate use for issuing deferred requests from outside of uloop.run() and then calling uloop.run() or req.await() afterwards. Since nobody noticed the breakage in all this time, let's just get rid of this API footgun. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tests/custom/03_stdlib/61_loadstring')
0 files changed, 0 insertions, 0 deletions