diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-23 23:26:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-03 11:51:57 +0100 |
commit | 8f5c235d9e5f2e80cd2cf55c4585cddcdec5931b (patch) | |
tree | 6a2ff1fa49becca139dcdc7aa17ea605e8b807da /LICENSE.LGPL2.1 | |
parent | 9a1c8f2d2454ba5ccac4538137bc112d6fe6454f (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