FROM : Markus Hitter
DATE : Mon Apr 25 20:32:56 2005
Am 25.04.2005 um 19:24 schrieb Miguel Arroz:
> I think it never returns.
How about making sure? Put a NSLog right before and right after the
method send and see wether and when both are called.
> The app still runs (windows move, a Progress Indicator keeps spinning,
> etc) but it never returns from the requestWithURL call.
>
> What's strange is that I use the exact same call somewhere else (in
> a background thread) and it works... when the timeout fires, the call
> returns. But on the main thread, it seams like it never returns.
If you send a message which can take 30 seconds to complete, your GUI
would hang for this time. The spinning pizza would appear but Progress
Indicators wouldn't move.
Likely, your problem lies elsewhere.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
DATE : Mon Apr 25 20:32:56 2005
Am 25.04.2005 um 19:24 schrieb Miguel Arroz:
> I think it never returns.
How about making sure? Put a NSLog right before and right after the
method send and see wether and when both are called.
> The app still runs (windows move, a Progress Indicator keeps spinning,
> etc) but it never returns from the requestWithURL call.
>
> What's strange is that I use the exact same call somewhere else (in
> a background thread) and it works... when the timeout fires, the call
> returns. But on the main thread, it seams like it never returns.
If you send a message which can take 30 seconds to complete, your GUI
would hang for this time. The spinning pizza would appear but Progress
Indicators wouldn't move.
Likely, your problem lies elsewhere.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
| Related mails | Author | Date |
|---|---|---|
| Miguel Arroz | Apr 24, 21:06 | |
| Marc Respass | Apr 25, 17:04 | |
| Miguel Arroz | Apr 25, 19:24 | |
| Becky Willrich | Apr 25, 19:34 | |
| Markus Hitter | Apr 25, 20:32 | |
| Miguel Arroz | Apr 25, 23:54 |






Cocoa mail archive

