--- a/src/com/beem/project/beem/ui/ContactList.java Wed Jun 17 20:14:11 2009 +0200
+++ b/src/com/beem/project/beem/ui/ContactList.java Wed Jun 17 20:21:14 2009 +0200
@@ -90,7 +90,13 @@
bindService(new Intent(this, BeemService.class), mServConn, BIND_AUTO_CREATE);
mHandler = new Handler();
groupMap = new HashMap<String, List<Contact>>();
- groupName = new ArrayList<String>();
+ groupName = new ArrayList<String>();
+ }
+
+ @Override
+ protected void onDestroy() {
+ super.onDestroy();
+ unbindService(mServConn);
}
private void buildContactList(List<Contact> listContact) {