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 3b4f9c0 commit 1e3771dCopy full SHA for 1e3771d
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