Skip to content

Commit

Permalink
Synchroize the configureSimperium method.
Browse files Browse the repository at this point in the history
Fixes #3531
  • Loading branch information
roundhill authored and maxme committed Dec 17, 2015
1 parent 683f25f commit 51c8bd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static Bucket<BucketObject> getMetaBucket() {
return mMetaBucket;
}

public static Simperium configureSimperium(final Context context, String token) {
public static synchronized Simperium configureSimperium(final Context context, String token) {
// Create a new instance of Simperium if it doesn't exist yet.
// In any case, authorize the user.
if (mSimperium == null) {
Expand Down

0 comments on commit 51c8bd5

Please sign in to comment.