---
title: "FSEventStreamRelease(_:)"
framework: Core Services
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.5+]
path: coreservices/1445989-fseventstreamrelease
---

# FSEventStreamRelease(_:)

## Declaration

```swift
func FSEventStreamRelease(_ streamRef: FSEventStreamRef)
```

## Parameters

- `streamRef`: A valid stream.

## Discussion

Discussion Decrements the stream's refcount. The refcount is initially one and is incremented via FSEventStreamRetain(). If the refcount reaches zero then the stream is deallocated.
