mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-16 23:10:11 -05:00
Do not reconnect if user uses exit (menu)
This commit is contained in:
parent
da4a4021ee
commit
1282790b19
@ -249,6 +249,7 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
|
||||
ArrayList<Server> mServers = Yaaic.getInstance().getServersAsArrayList();
|
||||
for (Server server : mServers) {
|
||||
if (binder.getService().hasConnection(server.getId())) {
|
||||
server.setStatus(Status.DISCONNECTED);
|
||||
binder.getService().getConnection(server.getId()).quitServer();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user