It’s amazing what a week off will do. I was having some issues implementing withCheckedContinuation()
and handling cancellations. Read through a forum post one more time this morning and the problem was immediately obvious. I wasn’t calling resume on the continuation when it was canceled and this led to the continuation being leaked.