switch sides: linux dbus use uri as para like uni_links

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-01-20 14:53:05 +08:00
1 parent c25796e44d
commit b7844d1175
8 files changed
+45 -38

No files matched your search

+8 -6
View File
@@ -784,12 +784,14 @@ extern "C" fn breakdown_signal_handler(sig: i32) {
sig,
stack.join("\n").to_string()
);
system_message(
"RustDesk",
&format!("Got signal {} and exit.{}", sig, info),
true,
)
.ok();
if !info.is_empty() {
system_message(
"RustDesk",
&format!("Got signal {} and exit.{}", sig, info),
true,
)
.ok();
}
std::process::exit(0);
}