lunux client

This commit is contained in:
lzx
2026-01-29 10:44:29 +08:00
parent efce651809
commit 8142887644
3 changed files with 109 additions and 85 deletions

View File

@@ -423,6 +423,9 @@ class MainScreen extends StatelessWidget {
);
if (confirmed == true) {
// 先优雅关闭客户端和挖矿进程,再退出程序
final provider = Provider.of<ClientProvider>(context, listen: false);
await provider.shutdown();
exit(0);
}
}