diff --git a/CHANGELOG.md b/CHANGELOG.md index 4862b0d3e..80cdcfa54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +20.11.5 +* Fixed a bug in backend mode while removing consent. + 20.11.4 * Adding mitigations to an issue that would surface when stopping a view that was not started. diff --git a/gradle.properties b/gradle.properties index 5a2008956..828dd62e3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,7 +18,7 @@ # org.gradle.parallel=true # RELEASE FIELD SECTION -VERSION_NAME=20.11.4 +VERSION_NAME=20.11.5 GROUP=ly.count.sdk POM_URL=https://github.com/Countly/countly-sdk-java diff --git a/sdk-java/src/main/java/ly/count/sdk/java/Config.java b/sdk-java/src/main/java/ly/count/sdk/java/Config.java index ed402ae61..25b2d1439 100644 --- a/sdk-java/src/main/java/ly/count/sdk/java/Config.java +++ b/sdk-java/src/main/java/ly/count/sdk/java/Config.java @@ -265,7 +265,7 @@ public boolean restore(byte[] data) { /** * Countly SDK version to be sent in HTTP requests */ - protected String sdkVersion = "20.11.4"; + protected String sdkVersion = "20.11.5"; /** * Countly SDK name to be sent in HTTP requests diff --git a/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleBackendMode.java b/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleBackendMode.java index 1b7092215..4c035e374 100644 --- a/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleBackendMode.java +++ b/sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleBackendMode.java @@ -68,7 +68,9 @@ public void onRequestCompleted(Request request, String response, int responseCod @Override public void stop(CtxCore ctx, boolean clear) { super.stop(ctx, clear); - executor.shutdownNow(); + if(executor != null) { + executor.shutdownNow(); + } } public void disableModule() {