---
title: deallocateReceiveRight
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsmachport/options/deallocatereceiveright
---

# deallocateReceiveRight

Remove a receive right when the NSMachPort object is invalidated or destroyed.

## Declaration

```swift
static var deallocateReceiveRight: NSMachPort.Options { get }
```

## See Also

### Constants

- [deallocateSendRight](foundation/nsmachport/options/deallocatesendright.md)
