Skip to content

Commit 039053d

Browse files
committed
Fix Deadlock
• Fixes an issue that caused getTags requests to occasionally enter into a deadlock
1 parent 82a36a6 commit 039053d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OneSignalSDK/onesignal/src/main/java/com/onesignal/UserStatePushSynchronizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void onSuccess(String responseStr) {
5252
}
5353

5454
synchronized(syncLock) {
55-
return new GetTagsResult(serverSuccess, JSONUtils.getJSONObjectWithoutBlankValues(getToSyncUserState().syncValues, "tags"));
55+
return new GetTagsResult(serverSuccess, JSONUtils.getJSONObjectWithoutBlankValues(toSyncUserState.syncValues, "tags"));
5656
}
5757
}
5858

0 commit comments

Comments
 (0)