]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-bus: when removing a server-side match, do so in "fire and forget" fashion
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Dec 2017 19:50:26 +0000 (20:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:58:32 +0000 (13:58 +0100)
commitacd340158aacce126cb0736681b1fb7cacb07e81
treef27a0e342db4df2441ae11dc9ccd39de116002d5
parentaec7b7bae7ccbf0b25fdffb4d9249c420cef308f
sd-bus: when removing a server-side match, do so in "fire and forget" fashion

We currently wait for the RemoveMatch() reply, but then ignore what it
actually says. Let's optimize this a bit, and not even ask for an answer
back: just enqueue the RemoveMatch() operation, and do not request not
wait for any answer.
src/libsystemd/sd-bus/bus-control.c
src/libsystemd/sd-bus/bus-slot.c