mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +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() {
|
void MPRISRemote::MPRISDeinit() {
|
||||||
|
sd_bus_close(this->bus);
|
||||||
sd_bus_close_unref(this->bus);
|
sd_bus_unref(this->bus);
|
||||||
bus = NULL;
|
bus = NULL;
|
||||||
stop_processing = true;
|
stop_processing = true;
|
||||||
if (thread) {
|
if (thread) {
|
||||||
|
Loading…
Reference in New Issue
Block a user