I'm working a database that has roughly 2,500 small attachments. When I 
call [CBLDatabase deleteDatabase:] the app's UI hangs for several seconds.

When I enabled "-LogCBLDatabase YES" on launch, the hang appears to occur 
when calling [[NSFileManager defaultManager] removeItemAtPath: path error: 
&error] for the attachments directory. 

Is there a safe way to push this work off to a background thread? 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/db0380de-7af6-4532-9399-0de304707762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to