mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Explicitly shut down syncthing on exit.
This commit is contained in:
parent
d299f38520
commit
d043153a1f
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ public class DrawerFragment extends Fragment implements RestApi.OnReceiveSystemI
|
|||
mActivity.closeDrawer();
|
||||
break;
|
||||
case 4:
|
||||
mActivity.getService().getApi().shutdown();
|
||||
mActivity.stopService(new Intent(mActivity, SyncthingService.class));
|
||||
mActivity.finish();
|
||||
mActivity.closeDrawer();
|
||||
|
|
Loading…
Reference in a new issue