Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Nonstrict
(Uncensored)
subscribe
AVAssetWriter leaking memory when segment data is used in Swift
https://nonstrict.eu/blog/2023/avassetwriter-leaks-segment-data
links
backlinks
Segment data delivered to AVAssetWriterDelegate is leaked when the delegate is implemented in Swift. You either need to implement the delegate in Objective-C or deallocate the data yourself. This issue is fixed by Apple in macOS 13.3.