alroyso 1 year ago
parent
commit
7874dc1cd3
1 changed files with 1 additions and 1 deletions
  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;