mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-11 05:38:00 -05:00
Disconnect from server on delete
This commit is contained in:
parent
5dd23fce43
commit
9f0ad056a0
@ -170,6 +170,7 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
|
||||
binder.getService().getConnection(server.getId()).quitServer();
|
||||
break;
|
||||
case 2: // Delete
|
||||
binder.getService().getConnection(server.getId()).quitServer();
|
||||
deleteServer(server.getId());
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user