In this post I advocated for being able to move non-Sendable references across isolation boundaries. I wasn’t thinking about deinits though. I was reasoning as if a reference doesn’t “do” anything by itself, and therefore it is safe to share. But deinits effectively turn all references into Russian-roulette closures that may or may not execute at the end of the reference’s scope
2 Likes