Fix #93: Get signals working for multiple proxies.

* Proxy::sdbus_signal_handler() needs to return 0 instead of 1 in
  order to allow multiple proxies listening to a signal all being
  triggered.
* Add test for emitting a signal to multiple proxies on same
  connection.
This commit is contained in:
Oliver Tappe
2020-03-26 21:19:18 +01:00
committed by Stanislav Angelovič
parent a23aadbe5e
commit dc66efbbcb
3 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ int Proxy::sdbus_signal_handler(sd_bus_message *sdbusMessage, void *userData, sd
callback(message);
return 1;
return 0;
}
}