diff -r 25b8906f901a -r b0f67c5b4215 project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/NetplayService.java --- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/NetplayService.java Thu Jul 19 22:53:39 2012 +0200 +++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/NetplayService.java Thu Jul 19 22:55:36 2012 +0200 @@ -27,7 +27,7 @@ netconn = new Netconn(getApplicationContext(), "AndroidTester"); } catch (IOException e) { // TODO better handling - throw new RuntimeException("Unable to start frontlib"); + throw new RuntimeException("Unable to start frontlib", e); } timer = new CountDownTimer(Long.MAX_VALUE, 50) { @Override @@ -46,6 +46,7 @@ @Override public void onDestroy() { + timer.cancel(); netconn.disconnect(); Flib.INSTANCE.flib_quit(); }