diff --git a/src/plugins/mpris/mpris.cpp b/src/plugins/mpris/mpris.cpp index cf31003cb..57613c6d9 100644 --- a/src/plugins/mpris/mpris.cpp +++ b/src/plugins/mpris/mpris.cpp @@ -89,8 +89,8 @@ bool MPRISRemote::MPRISInit() { } void MPRISRemote::MPRISDeinit() { - - sd_bus_close_unref(this->bus); + sd_bus_close(this->bus); + sd_bus_unref(this->bus); bus = NULL; stop_processing = true; if (thread) {