# Crash in NIOAsyncWriter.InternalClass.deinit

**URL:** <https://forums.swift.org/t/crash-in-nioasyncwriter-internalclass-deinit/68725>\
**Category:** SwiftNIO\
**Created:** [November 30, 2023, 1:11am UTC](https://forums.swift.org/t/crash-in-nioasyncwriter-internalclass-deinit/68725 "2023-11-30T01:11:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [November 30, 2023, 9:38pm UTC](https://forums.swift.org/t/crash-in-nioasyncwriter-internalclass-deinit/68725/5 "2023-11-30T21:38:17Z")

</div>

i currently have no reason to believe these two issues are connected (particularly because i don’t think NIO has adopted the new 5.9 ownership specifiers yet), but one possible symptom of [a compiler bug i just isolated](https://forums.swift.org/t/what-could-cause-swift-release-dealloc-to-segfault/68506/6) could be the swift runtime calling `deinit` prematurely.

---

_[View the full topic](https://forums.swift.org/t/crash-in-nioasyncwriter-internalclass-deinit/68725)._
