On Apr 1, 2014, at 6:00 PM, David Quon <dav...@amcoonline.net> wrote:

> I tried changing the thread to be the main thread if running Kiwi Unit Tests 
> and a DB thread if running the app on the device.  However for whatever 
> reason this just froze the app when trying to get started to run the Unit 
> Tests (not yet running any tests).

Well, if you call dispatch_sync from the same dispatch queue you're dispatching 
to, you'll deadlock. For example, if you're on the main thread and try to 
dispatch to the main thread. That might be what's happening.

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/9E917565-C693-4874-B982-011FE03FA7F7%40mooseyard.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to