mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Merge pull request #2029 from 21pages/stop-service
close all connections when stop service
This commit is contained in:
@@ -288,7 +288,7 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
offstage: !svcStopped.value,
|
||||
child: GestureDetector(
|
||||
onTap: () async {
|
||||
bool checked =
|
||||
bool checked = !bind.mainIsInstalled() ||
|
||||
await bind.mainCheckSuperUserPermission();
|
||||
if (checked) {
|
||||
bind.mainSetOption(key: "stop-service", value: "");
|
||||
|
||||
Reference in New Issue
Block a user