Files
libuev/test
Joachim Wiberg aedc189672 Reset watcher descriptor on failed cron and signal init
When uev_cron_init() or uev_signal_init() fails to add the watcher to
the event loop, the watcher is left with a descriptor that is closed.
A later set or start on it then operates on that descriptor, which by
then may belong to something else.

Reset it to -1, as the timer and event watchers do.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-11-16 15:08:43 +01:00
..
2021-08-01 22:40:35 +02:00
2021-08-01 22:40:35 +02:00
2021-08-01 22:40:35 +02:00
2024-01-04 17:16:49 +01:00
2024-01-04 17:16:49 +01:00
2024-01-04 17:16:49 +01:00
2024-01-04 17:16:49 +01:00
2021-08-01 22:40:35 +02:00