1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2025-01-11 13:48:21 -05:00

Disconnect from server on delete

This commit is contained in:
Sebastian Kaspari 2010-03-13 21:06:29 +01:00
parent 5dd23fce43
commit 9f0ad056a0

View File

@ -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;
}