diff options
author | RustDesk <[email protected]> | 2024-01-30 19:02:30 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-30 19:02:30 +0800 |
commit | 324dfd6a1fd2bda5077218b908ad143fcc8e8d00 (patch) | |
tree | d159c91603a085bd4f15852623c89e511e9b8af1 /src | |
parent | 70242e6eb292fde42a1e660d222ea2bdb6cdb5f8 (diff) | |
download | rustdesk-server-324dfd6a1fd2bda5077218b908ad143fcc8e8d00.tar.gz rustdesk-server-324dfd6a1fd2bda5077218b908ad143fcc8e8d00.zip |
fix https://github.com/rustdesk/rustdesk-server/issues/306
Diffstat (limited to 'src')
-rw-r--r-- | src/common.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common.rs b/src/common.rs index 24594a5..977f8ed 100644 --- a/src/common.rs +++ b/src/common.rs @@ -156,8 +156,6 @@ pub async fn listen_signal() -> Result<()> { use hbb_common::tokio::signal::unix::{signal, SignalKind}; tokio::spawn(async { - let mut s = signal(SignalKind::hangup())?; - let hangup = s.recv(); let mut s = signal(SignalKind::terminate())?; let terminate = s.recv(); let mut s = signal(SignalKind::interrupt())?; @@ -166,9 +164,6 @@ pub async fn listen_signal() -> Result<()> { let quit = s.recv(); tokio::select! { - _ = hangup => { - log::info!("signal hangup"); - } _ = terminate => { log::info!("signal terminate"); } |