mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 13:02:35 +00:00
Updated mpris.cpp for better compatibility with older versions of libsystemd
This commit is contained in:
parent
4b1960e27e
commit
013aa912cb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user