Skip to content
This repository has been archived by the owner on Dec 18, 2022. It is now read-only.

Commit

Permalink
Merge pull request #26 from liamcottle/master
Browse files Browse the repository at this point in the history
Fixed error callback in getClientLoginData to use the main thread
  • Loading branch information
NSExceptional committed Jan 1, 2016
2 parents 7b3f3a1 + 220f5ef commit e3c65a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Pod/Classes/Networking/SKClient.m
Expand Up @@ -397,7 +397,9 @@ - (void)signInWithUsername:(NSString *)username password:(NSString *)password co
}];
}] resume];
} else {
completion(nil, error);
dispatch_async(dispatch_get_main_queue(), ^{
completion(nil, error);
});
}
}];
}
Expand Down

0 comments on commit e3c65a8

Please sign in to comment.