#5 fix camera video preview after shooting
- Claim the picker-owned temp movie synchronously inside the picker delegate with FileManager.moveItem before returning, so the picker's post-dismissal cleanup can no longer delete the source while a background copy is reading it. - Deliver the captured movie to the staging flow immediately; heavy staging and thumbnail work still runs off the main thread. - Add a verify.sh invariant for the synchronous movie claim.
This commit is contained in:
1 parent
5790f9b2f6
commit
75fbcc5346
2 files changed
+25
-21
No files matched your search
@@ -344,6 +344,10 @@ grep -q 'onDismissRequest' Sources/Shared/UI/ChatView.swift || {
|
||||
echo "The camera cover must dismiss through the SwiftUI binding"
|
||||
exit 1
|
||||
}
|
||||
grep -q 'moveItem(at: sourceURL' Sources/Shared/UI/SystemPhotoCameraView.swift || {
|
||||
echo "The picker movie must be claimed synchronously before dismissal cleanup"
|
||||
exit 1
|
||||
}
|
||||
grep -q 'ArchiveSyncCursorPolicy.requestPosition' Sources/Shared/XMPP/XMPPService.swift || {
|
||||
echo "MAM reconnects must prefer the durable archive UID over timestamps"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user