---
title: releaseGlobally()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nspasteboard/releaseglobally()
---

# releaseGlobally()

Releases the receiver’s resources in the pasteboard server.

## Declaration

```swift
func releaseGlobally()
```

## Discussion

Discussion After this method is invoked, no other application can use the receiver. important: Although you must call this method to release a temporary, privately named pasteboard to avoid leaks, you should never call it on a standard pasteboard.

## See Also

### Creating and releasing a pasteboard

- [general](appkit/nspasteboard/general.md)
- [init(byFilteringData:ofType:)](appkit/nspasteboard/init(byfilteringdata:oftype:).md)
- [init(byFilteringFile:)](appkit/nspasteboard/init(byfilteringfile:).md)
- [init(byFilteringTypesInPasteboard:)](appkit/nspasteboard/init(byfilteringtypesinpasteboard:).md)
- [init(name:)](appkit/nspasteboard/init(name:).md)
- [NSPasteboard.Name](appkit/nspasteboard/name-swift.struct.md)
- [withUniqueName()](appkit/nspasteboard/withuniquename().md)
