Skip to content

Commit

Permalink
Fixed ScannerReceiver receiver thread clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrudu committed Nov 30, 2022
1 parent a46e32d commit 50ebd16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datawedgeprofileintentswrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 32
versionCode 8
versionName "11.0 beta"
versionCode 9
versionName "11.0 alpha 3"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ private void cleanReceiverThread()
if(mBroadcastReceiverThreadLooper != null)
mBroadcastReceiverThreadLooper.quit();
mBroadcastReceiverThreadLooper = null;
if(mBroadcastReceiverThread != null)
mBroadcastReceiverThread.quit();
mBroadcastReceiverThread = null;
mBroadcastReceiverHandler = null;
}
Expand Down

0 comments on commit 50ebd16

Please sign in to comment.