Skip to content

Commit

Permalink
Merge pull request #304 from enviroCar/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
dewall authored Jun 14, 2016
2 parents d12efca + e33e719 commit 04941f6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ ext {
compileSdkVersion = 23
targetSdkVersion = 23
buildToolsVersion = '23.0.2'
versionCode = 31
versionName = "0.22.2"
versionCode = 32
versionName = "0.22.3"

javaCompileVersion = JavaVersion.VERSION_1_8

Expand Down
4 changes: 2 additions & 2 deletions org.envirocar.app/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.envirocar.app"
android:installLocation="internalOnly"
android:versionCode="31"
android:versionName="0.22.2">
android:versionCode="32"
android:versionName="0.22.3">

<uses-sdk
android:minSdkVersion="16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ private void shutdownEnviroCar() {
mMainThreadWorker.schedule(() -> {
System.runFinalizersOnExit(true);
System.exit(0);
}, 100, TimeUnit.MILLISECONDS);
}, 750, TimeUnit.MILLISECONDS);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,12 @@ public void onPause(){
public void onDestroy() {
LOG.info("onDestroy()");
super.onDestroy();
mTempomatView.destroyDrawingCache();
mTempomatView = null;

// null check before destroying.
if(mTempomatView != null) {
mTempomatView.destroyDrawingCache();
mTempomatView = null;
}
}

@Override
Expand Down

0 comments on commit 04941f6

Please sign in to comment.