Skip to content

Commit

Permalink
fix(push) - fix concurrent modification exception for availableCTPush…
Browse files Browse the repository at this point in the history
…Providers list SDK-3604
  • Loading branch information
piyush-kukadiya committed Jan 13, 2024
1 parent 54d1ff7 commit 9359957
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ private void pushDeviceTokenEvent(String token, boolean register, PushType pushT
* Fetches latest tokens from various providers and send to Clevertap's server
*/
private void refreshAllTokens() {
Task<Void> task = CTExecutorFactory.executors(config).ioTask();
Task<Void> task = CTExecutorFactory.executors(config).postAsyncSafelyTask();
task.execute("PushProviders#refreshAllTokens", new Callable<Void>() {
@Override
public Void call() {
Expand Down

0 comments on commit 9359957

Please sign in to comment.