add: address book ui&getAb

Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
kingtous
2022-07-25 16:23:45 +08:00
committed by Kingtous
parent 5946f6e47d
commit 4cfa840822
6 changed files with 467 additions and 150 deletions

View File

@@ -630,7 +630,7 @@ pub fn check_zombie(childs: Childs) {
}
}
fn check_connect_status(reconnect: bool) -> mpsc::UnboundedSender<ipc::Data> {
pub(crate) fn check_connect_status(reconnect: bool) -> mpsc::UnboundedSender<ipc::Data> {
let (tx, rx) = mpsc::unbounded_channel::<ipc::Data>();
std::thread::spawn(move || check_connect_status_(reconnect, rx));
tx