Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed potential crasher in VersionedDocument
_docType wasn't being allocated on the heap, instead it just pointed inside the doc's metadata. This caused it to be invalidated if the metadata block got moved in memory when resized. I haven't seen an actual crash from this, but the Xcode address sanitizer caught it while purging docs in a unit test.
- Loading branch information