Skip to content

Commit 933e70c

Browse files
authored
Consent removal bug fixed (#22)
* Consent removal bug fixed * Typo fixed
1 parent 1efe2b9 commit 933e70c

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
20.11.5
2+
* Fixed a bug in backend mode while removing consent.
3+
14
20.11.4
25
* Adding mitigations to an issue that would surface when stopping a view that was not started.
36

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# org.gradle.parallel=true
1919

2020
# RELEASE FIELD SECTION
21-
VERSION_NAME=20.11.4
21+
VERSION_NAME=20.11.5
2222
GROUP=ly.count.sdk
2323

2424
POM_URL=https://github.com/Countly/countly-sdk-java

sdk-java/src/main/java/ly/count/sdk/java/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public boolean restore(byte[] data) {
265265
/**
266266
* Countly SDK version to be sent in HTTP requests
267267
*/
268-
protected String sdkVersion = "20.11.4";
268+
protected String sdkVersion = "20.11.5";
269269

270270
/**
271271
* Countly SDK name to be sent in HTTP requests

sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleBackendMode.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ public void onRequestCompleted(Request request, String response, int responseCod
6868
@Override
6969
public void stop(CtxCore ctx, boolean clear) {
7070
super.stop(ctx, clear);
71-
executor.shutdownNow();
71+
if(executor != null) {
72+
executor.shutdownNow();
73+
}
7274
}
7375

7476
public void disableModule() {

0 commit comments

Comments
 (0)