user exceptions fixed

This commit is contained in:
Sergey Solovyev
2012-12-05 12:43:57 +04:00
parent 8784c3232f
commit 5ac1f7405a
3 changed files with 46 additions and 6 deletions

View File

@@ -98,8 +98,10 @@ public class CalculatorOnscreenService extends Service implements ExternalCalcul
@Override
public void onDestroy() {
stopCalculatorListening();
this.view.hide();
super.onDestroy();
if (viewCreated) {
this.view.hide();
}
super.onDestroy();
}
@Override