Sometimes, when a data task is cancelled, the didCompleteWithError method is not called. Since that is where we end data task signposts, this can lead to dropped signposts and incorrectly attributed resource loads in perf traces. To fix this, most the end of the signpost to the destructor instead.
<rdar://problem/104976161>
Pull request: https://github.com/WebKit/WebKit/pull/9552
Committed 259826@main (6fb617ebe42b): <https://commits.webkit.org/259826@main> Reviewed commits have been landed. Closing PR #9552 and removing active labels.