Artifact 2297e4dbb2f8f5e1850c9498924912cc8ace0f38542594ecdf99dbae91df9a7f:
- File
src/OFZIPArchive.h
— part of check-in
[6527c97d03]
at
2022-10-09 16:19:17
on branch trunk
— OFZIPArchive: Make returned streams retain archive
In order to not create a retain cycle, this changes the reference to the
last returned stream to an unsafe unretained one that the stream itself
needs to reset to nil in its dealloc.Since when closing a stream for writing the archive needs to be updated,
the code for that was moved out of OFZIPArchive and into the stream
writer, since it now has a reference to the archive anyway. (user: js, size: 6505) [annotate] [blame] [check-ins using]
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.