rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

Feat: listen for unix signal

Open dlhxzb opened this issue 3 years ago • 2 comments

When docker stop/restart, it would send SIGTERM and wait then SIGKILL. Without listening for it we have to wait SIGTERM timeout here.
Fixes: #36

dlhxzb avatar Aug 04 '22 09:08 dlhxzb

Please remove unnessessary format change, your format is different from ours (default VSC rust anaylizer).

rustdesk avatar Aug 04 '22 10:08 rustdesk

Is it possible that your VSC plug-in does not work at all 👀

use hbb_common::{
    log,
    rendezvous_proto::*,
    tokio::sync::{Mutex, RwLock},
    bytes::Bytes,  // No formatter would put `b***` here
    ResultType,
};

BTW either analyzer or cargo fmt, all used rustfmt as formatter

dlhxzb avatar Aug 05 '22 02:08 dlhxzb

Sorry for this late PR merge, I put all my effort on rustdesk repo, and totally ignored this one.

rustdesk avatar Jan 06 '23 03:01 rustdesk