1
0
Fork 0
forked from wry/wry
wry/src/dbus/outgoing.rs
2022-04-07 17:31:31 +02:00

11 lines
288 B
Rust

use {
crate::{dbus::DbusSocket, utils::errorfmt::ErrorFmt},
std::rc::Rc,
};
pub async fn handle_outgoing(socket: Rc<DbusSocket>) {
if let Err(e) = socket.bufio.clone().outgoing().await {
log::error!("{}: {}", socket.bus_name, ErrorFmt(e));
}
socket.kill();
}