Skip to content

Commit 6ef1e32

Browse files
author
Bilal Al
committed
polish
1 parent d5c83ac commit 6ef1e32

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
4.14.1 (XXX XX, XXXX)
2+
- Prevent polling threads from starting when the SDK calls destroy method.
3+
14
4.14.0 (Jan 17, 2025)
25
- Added support for the new impressions tracking toggle available on feature flags, both respecting the setting and including the new field being returned on SplitView type objects. Read more in our docs.
36
- Cleaned unused imports to fix a collision issue.

client/src/main/java/io/split/engine/common/SyncManagerImp.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ private void startPollingMode() {
212212
case STREAMING_DOWN:
213213
_log.info("Streaming service temporarily unavailable, working in polling mode.");
214214
_pushManager.stopWorkers();
215+
// if the whole SDK is being shutdown, don't start polling, in case the polling threads are not terminated and a graceful shutdown will fail.
215216
if(_shuttedDown.get()) {
216217
break;
217218
}

0 commit comments

Comments
 (0)