Skip to content
Commit 9f6ef467 authored by Michal Sekletár's avatar Michal Sekletár Committed by Yu Watanabe
Browse files

sd-event: take ref on event loop object before dispatching event sources

Idea is that all public APIs should take reference on objects that get
exposed to user-provided callbacks. We take the reference as a
protection from callbacks dropping it. We used to do this also here in
sd_event_loop(). However, in cleanup portion of f814c871 this was
accidentally dropped.
parent 15092743
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment