You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.
i think my case are cause by i running unit test, in the main app it has no issue, and only in test it block and hangs (both sync and async calls).
I test with ASIHTTPRequest and it seems it is okay in sync mode and hang in async mode. It seems some operation of their async code are working in main thread, and my test running in main thread and blocking them to proceed properly.
i.e LRRestyClient get: never get returned (all other synchronized request methods do).
build env: SL 10.6.8
xcode 4.0
target: iOS 4.3.2 (simulator, not tested in real box)
code:
{
NSLog(@"%s: begin.", FUNCTION);
LRRestyResponse * lr = [[LRResty client] get:@"http://www.google.com/ncr"];
NSLog(@"r: %@", [lr asString]);
.... (omitted)
}
get an console output like '-[UFBXMobileAppDelegate application:didFinishLaunchingWithOptions:]: begin.' and the main window does not showup.
PS. async calls work fine, except that I cannot block the thread committed the async calls, or else the async calls do not run.
The text was updated successfully, but these errors were encountered: