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;