diff --git a/datawedgeprofileintentswrapper/build.gradle b/datawedgeprofileintentswrapper/build.gradle index 011cbb0..843e50a 100644 --- a/datawedgeprofileintentswrapper/build.gradle +++ b/datawedgeprofileintentswrapper/build.gradle @@ -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" diff --git a/datawedgeprofileintentswrapper/src/main/java/com/zebra/datawedgeprofileintents/DWScanReceiver.java b/datawedgeprofileintentswrapper/src/main/java/com/zebra/datawedgeprofileintents/DWScanReceiver.java index 313ef03..3758eb1 100644 --- a/datawedgeprofileintentswrapper/src/main/java/com/zebra/datawedgeprofileintents/DWScanReceiver.java +++ b/datawedgeprofileintentswrapper/src/main/java/com/zebra/datawedgeprofileintents/DWScanReceiver.java @@ -152,6 +152,8 @@ private void cleanReceiverThread() if(mBroadcastReceiverThreadLooper != null) mBroadcastReceiverThreadLooper.quit(); mBroadcastReceiverThreadLooper = null; + if(mBroadcastReceiverThread != null) + mBroadcastReceiverThread.quit(); mBroadcastReceiverThread = null; mBroadcastReceiverHandler = null; }