Description
Looks like the database(pending-document-ids/replicator) is closed, while the replicator change listener is still executing.
Steps:
1. CBL_EE_ObjC + Mac target
2. Run the unit test `testIsDocumentPendingWithPushFilter` without log enabled.