From 81a54802500015f76fdcf158365f2a4bc5edfefd Mon Sep 17 00:00:00 2001 From: lbl8603 <49143209+lbl8603@users.noreply.github.com> Date: Wed, 8 Feb 2023 16:39:30 +0800 Subject: [PATCH] Update service.rs --- switch-desktop/src/windows/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/switch-desktop/src/windows/service.rs b/switch-desktop/src/windows/service.rs index 87e0432..fa6d54c 100644 --- a/switch-desktop/src/windows/service.rs +++ b/switch-desktop/src/windows/service.rs @@ -5,7 +5,7 @@ use std::ffi::OsString; use std::sync::Arc; use std::thread; use std::time::Duration; - +use std::net::ToSocketAddrs; use switch::{Config, Switch}; use windows_service::service::{ ServiceControl, ServiceControlAccept, ServiceExitCode, ServiceState, ServiceStatus,