# Weak closure reference

**URL:** <https://forums.swift.org/t/weak-closure-reference/16085>\
**Category:** Discussion\
**Created:** [September 11, 2018, 9:05pm UTC](https://forums.swift.org/t/weak-closure-reference/16085 "2018-09-11T21:05:00Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![DevAndArtist](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/devandartist/32/287_2.png) [@DevAndArtist](https://forums.swift.org/u/DevAndArtist)\
**Post date:** [September 12, 2018, 9:57am UTC](https://forums.swift.org/t/weak-closure-reference/16085/14 "2018-09-12T09:57:36Z")

</div>

It's not the value that should be weak but the captured refences. If any of the reference becomes unavailable, the whole optional will invalidate and return `nil`. You may also want `unowned` closures where you known what you're doing.

I pitched this once myself: [[Pitch] Introduction of `weak/unowned` closures](https://forums.swift.org/t/pitch-introduction-of-weak-unowned-closures/6095)

---

_[View the full topic](https://forums.swift.org/t/weak-closure-reference/16085)._
