a nasty bug!

This commit is contained in:
knuthy 2014-09-20 18:43:22 +02:00
parent 799d47f181
commit ac6522cb94

View file

@ -118,7 +118,8 @@ public class PgpHandler extends Activity implements OpenPgpServiceConnection.OnB
@Override
public void onStop(){
super.onStop();
this.mServiceConnection.unbindFromService();
if (this.mServiceConnection.isBound())
this.mServiceConnection.unbindFromService();
}
@Override