summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-13 04:03:30 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-13 04:06:43 +0100
commit12179984a38fe74581333fbcdc11c822d81f505f (patch)
tree0fbd335d4c9f2d96df48a5e7a7f7f816c7eca347 /src/journal
parent7b77ed8cf36e8eca6017791626044b61ae2d68e7 (diff)
event: when unreffing an event source from its own handler, detach fd from epoll
The pattern of unreffing an IO event source and then closing its fd is frequently seen in even source callbacks. Previously this likely resultet in us removing the fd from the epoll after it was closed which is problematic, since while we were dispatching we always kept an extra reference to event source objects because we might still need it later.
Diffstat (limited to 'src/journal')
0 files changed, 0 insertions, 0 deletions