brianho1 / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
Other
0 stars 0 forks source link

Failure callback not working in iOS #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Change delegateQueue for service
2.Turn off internet to get failed call back after executed query.
3.failure callback doesn't fire.

What is the expected output? What do you see instead?
I expected failure callback occurred.but failure callback not working

Please use labels and text to provide additional information.
When use custom queue failure perform twice.At first time doesn't same thread 
so code call failure again using correct thread.in 
authorizeRequestImmediateArgs method check threads BOOL isSameThread = 
[targetThread isEqual:[NSThread currentThread]];.

After first time "releaseCallbacks" method called and this set delegate=nil . 
So second time delegate = nil.

Original issue reported on code.google.com by idevelop...@gmail.com on 1 Apr 2014 at 9:06