We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e25d5f6 commit 4eb191cCopy full SHA for 4eb191c
android-sdk/src/main/java/com/optimizely/ab/android/sdk/OptimizelyManager.java
@@ -265,6 +265,7 @@ public void stop(@NonNull Context context) {
265
}
266
if (dataFileServiceConnection != null && dataFileServiceConnection.isBound()) {
267
context.getApplicationContext().unbindService(dataFileServiceConnection);
268
+ dataFileServiceConnection = null;
269
270
271
this.optimizelyStartListener = null;
@@ -522,6 +523,7 @@ public void onDataFileLoaded(@Nullable String dataFile) {
522
523
@Override
524
public void onServiceDisconnected(ComponentName arg0) {
525
bound = false;
526
+ optimizelyManager.setDataFileServiceConnection(null);
527
528
529
boolean isBound() {
0 commit comments