Unfortunately, I can no longer replicate this issue.  I was seeing a case 
where observeValueForKeyPath was being called after dealloc for that 
object.  I'll keep my eye out for this problem in the future, but I 
checked, and that object is allocated and used all in the same dispatch 
queue, so I don't know how I got in that state.

Jordan

On Monday, January 18, 2016 at 6:35:39 PM UTC-6, Jens Alfke wrote:
>
>
> On Jan 18, 2016, at 2:24 PM, Jordan Wood <[email protected] 
> <javascript:>> wrote:
>
> Am I correct in thinking that the live query is being updated on 
> Couchbase-lite's queue, as apposed to my own serial dispatch queue where 
> the live query was created?
>
>
> No (I think, if I understand the question correctly.) The LiveQuery runs 
> on the dispatch queue that you assigned the CBLManager to initially. It 
> should only be posting notifications on that queue, unless there’s a bug 
> I’m not aware of.
>
> Couchbase Lite does have its own private background thread, which is used 
> by the replicator and for doing async view queries. LiveQuery does use this 
> thread to run the actual query, but that should be invisible to you; your 
> code should never get invoked on that queue.
>
> —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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/f3122bef-61cb-496d-9555-e0b46432091a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to