From 9f0ad056a0dc7a43ac4a89462e1c53885221da50 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Sat, 13 Mar 2010 21:06:29 +0100 Subject: [PATCH] Disconnect from server on delete --- src/org/yaaic/view/ServersActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/yaaic/view/ServersActivity.java b/src/org/yaaic/view/ServersActivity.java index 66879ba..423b009 100644 --- a/src/org/yaaic/view/ServersActivity.java +++ b/src/org/yaaic/view/ServersActivity.java @@ -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; }