TIL that if you requestImage a PHAsset using PHCachingImageManager and you cancel the task you have to use cancelImageRequest.
Otherwise you will find out how big the thread pool is. If you hit that limit, your application will hang.
My observation of the problem started with SwiftUI’s task modifier not being called anymore after a few interactions with a list triggering the image requests.
It was a long journey before I realised what was going on.
