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.
2 parents 27cf939 + 1e3771d commit 8fa23a9Copy full SHA for 8fa23a9
AndroidSDKCore/src/main/java/com/leanplum/LeanplumActivityHelper.java
@@ -351,7 +351,9 @@ private static void runPendingActions() {
351
for (Runnable action : runningActions) {
352
// If postponable callback and current activity should be skipped, then postpone.
353
if (action instanceof PostponableAction && isActivityClassIgnored(currentActivity)) {
354
- pendingActions.add(action);
+ synchronized (pendingActions) {
355
+ pendingActions.add(action);
356
+ }
357
} else {
358
action.run();
359
}
0 commit comments