project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SDLActivity.java
changeset 6892 c02710a8bac4
parent 6661 d16c898d1fe2
child 6901 c021699c33dc
equal deleted inserted replaced
6891:ab9843957664 6892:c02710a8bac4
    99 		Log.v("SDL", "onResume()");
    99 		Log.v("SDL", "onResume()");
   100 		super.onResume();
   100 		super.onResume();
   101 	}
   101 	}
   102 
   102 
   103 	public void onBackPressed(){
   103 	public void onBackPressed(){
   104 		super.onBackPressed();
       
   105 		PascalExports.HWterminate(true);
   104 		PascalExports.HWterminate(true);
   106 	}
   105 	}
   107 
   106 
   108 	protected void onDestroy() {
   107 	protected void onDestroy() {
   109 		super.onDestroy();
   108 		super.onDestroy();
   439 			ipc.quitIPC();
   438 			ipc.quitIPC();
   440 			ipc.join();
   439 			ipc.join();
   441 		} catch (InterruptedException e) {
   440 		} catch (InterruptedException e) {
   442 			e.printStackTrace();
   441 			e.printStackTrace();
   443 		}
   442 		}
   444 		//Log.v("SDL", "SDL thread terminated");
   443 		Log.v("SDL", "SDL thread terminated");
   445 		//Log.v("SDL", "SDL thread terminated");
   444 		//Log.v("SDL", "SDL thread terminated");
   446 	}
   445 	}
   447 }
   446 }
   448 
   447 
   449 
   448