chore: 消除部分编译警告 (#15578)

This commit is contained in:
yali-hzy
2026-02-02 12:51:12 +08:00
committed by GitHub
parent 82d059e329
commit d30424cef5
5 changed files with 13 additions and 5 deletions

View File

@@ -49,13 +49,16 @@ public class MaaJavaSample {
//开始执行
instance.AsstStart(pointer);
new Scanner(System.in).next();
Scanner scanner = new Scanner(System.in);
scanner.next();
//停止执行会清空taskChain
instance.AsstStop(pointer);
//销毁实例,释放连接
instance.AsstDestroy(pointer);
scanner.close();
}