summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-09-29 13:05:17 +0200
committerJo-Philipp Wich <jo@mein.io>2022-09-29 13:05:17 +0200
commitf4b4ded660cb6901af9c6a6548d8750b9e89982b (patch)
treeb14684d606cd905808c2a2bf3c95cdf425f60c4f /tests
parenta58fe4709f661b5f28e26701ea8638efccf5aeb6 (diff)
uloop: task: gracefully handle absent output callback
Both input and output callbacks for uloop tasks are optional, but the low level io callback implementation did not properly deal with an absent ucode output callback, triggering an exception in managed code due to invoking a null value as function. Fix this issue by checking for the availability of a callable output function and simply discarding the received task message otherwise. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions