summaryrefslogtreecommitdiff
path: root/LICENSE.LGPL2.1
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-23 23:26:15 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-03 11:51:57 +0100
commit8f5c235d9e5f2e80cd2cf55c4585cddcdec5931b (patch)
tree6a2ff1fa49becca139dcdc7aa17ea605e8b807da /LICENSE.LGPL2.1
parent9a1c8f2d2454ba5ccac4538137bc112d6fe6454f (diff)
sd-event: when an event source fails, don't assume the type of it is still set
If a callback of an event source returns an error, then the event source might already be half-destroyed, if the callback dropped all refs. Hence, don't assume that the type is still valid, and save it before we issue the callback.
Diffstat (limited to 'LICENSE.LGPL2.1')
0 files changed, 0 insertions, 0 deletions