alroyso 1 年之前
父节点
当前提交
7874dc1cd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/app/modules/home/controllers/home_controller.dart

+ 1 - 1
lib/app/modules/home/controllers/home_controller.dart

@@ -199,7 +199,7 @@ class HomeController extends GetxController {
     await controllers.config.setBreakConnections(true);
     await controllers.tray.updateTray();
     // // 停止服务
-    await controllers.service.stopClashCore();
+    await controllers.service.stopClash();
     controllers.global.updateMsg("正在停止.等待5秒防止端口无法释放");
     Future.delayed(const Duration(seconds: 5), () async {
       controllers.global.allowStatusUpdate = false;