mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-06 20:02:49 +08:00
fix: allow unused_variables for reload_gateway_internal (app unused on macOS)
This commit is contained in:
@@ -4919,6 +4919,7 @@ async fn reload_gateway_via_http() -> Result<String, String> {
|
||||
/// 重载 Gateway 服务
|
||||
/// Windows/Linux: 优先尝试 HTTP 热重载(不重启进程)
|
||||
/// 如果 HTTP 重载失败,回退到 restart_service(会触发 Guardian 重启循环)
|
||||
#[allow(unused_variables)]
|
||||
async fn reload_gateway_internal(app: Option<&tauri::AppHandle>) -> Result<String, String> {
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user