Artifact bc21bce60dd4306163be871d8c2f3355fea800d8f26e56c891a8dc563627c0c2:
- File
src/OFStreamSocket.m
- 2020-01-02 01:51:34 — part of check-in [c7f0229795] on branch trunk — Update copyright (user: js, size: 4076) [annotate] [blame] [check-ins using]
- 2020-01-08 02:29:37 — part of check-in [e7e1e1c6c5] on branch 1.0 — Merge branch 'master' into 1.0 (user: js, size: 4076) [annotate] [blame] [check-ins using]
-
2020-01-14 00:16:04
— part of check-in
[3b43d51006]
on branch trunk
— More consistent -[close] behavior
This means refusing to close twice, calling -[close] from -[dealloc] and
not calling -[cancelAsyncRequests].Calling -[cancelAsyncRequests] in -[close] is too dangerous, as -[close]
gets called by -[dealloc]: If the queue is the last reference to the
object, at the point where -[cancelAsyncRequests] removes it from the
queue, the object will start to deallocate and call into
-[cancelAsyncRequests] again, which is still in the middle of removing
it and now finds itself with an inconsistent state. (user: js, size: 4076) [annotate] [blame] [check-ins using]