Gabriel Terwesten
Gabriel Terwesten
@pasin wrote in https://github.com/couchbase/couchbase-lite-C/pull/286#issuecomment-1076896014: > I don't know dart and limitation or inefficiency around wrapping around FLDict or FLMutableDict versus implementing mutable fleece in dart. Does this also mean you...
From looking at the implementation, the API below seems realistic to me: ```c /** The callback of a \ref CBLDocumentPropertiesEncoder that is invoked when the properties of the document need...
Thanks for taking a look @pasin. > The suggested API could introduce inconsistency to the document properties after setting the encoder as the doc properties do not represent what will...
No, the query change triggers a notification for a different thread on which `CBLDatabase_Close` is called.
I think I have figured out what is happening here. 1. A live query notifies its listener of a change by calling the `CBLListenerToken`s callback. This is happening on the...
No problem :) > Do you mean the CBLListener_Remove(CBLListenerToken*) is called at the same time? Ah, sorry. What I should have said is: The listener callback calls `CBLListener_Remove`, passing the...
Yes, this is from the release build: `Couchbase Lite for C / EE build number 29, ID 3.0.2, from commit 008d44b9+6fb3bfc4` I don't have a reliable way of causing the...
The logs in the original comment (https://github.com/couchbase/couchbase-lite-C/issues/342#issue-1346822094) are from one of the CI runs, which is why they are relatively long, but the test case that triggers this crash is...
Unfortunately, I haven't been able to reproduce the crash locally yet. In the CI, the crash happens about in 1 out of 10 runs, and always around the same test...
Sorry for the late response. Frustratingly, I'm not able to replicate the crash locally. I'm guessing that a very specific timing of events is necessary that for some reason is...