🚧 Add Restart stub method

This commit is contained in:
Lucy 2022-07-25 12:34:21 -04:00
parent afee62bc3d
commit 6893bac687
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1

View file

@ -8,7 +8,7 @@ pub struct SessionService {
#[dbus_interface(name = "com.system76.CosmicSession")]
impl SessionService {
async fn exit(&mut self) {
fn exit(&mut self) {
match self.exit_tx.take() {
Some(tx) => {
tx.send(()).ok();
@ -18,4 +18,8 @@ impl SessionService {
}
}
}
fn restart(&self) {
warn!("restarting session");
}
}