---
title: stopAndInvalidate()
framework: phase
role: symbol
role_heading: Instance Method
path: phase/phasesoundevent/stopandinvalidate()
---

# stopAndInvalidate()

Stops a sound event and prevents it from resuming.

## Declaration

```swift
func stopAndInvalidate()
```

## See Also

### Stopping Playback

- [isIndefinite](phase/phasesoundevent/isindefinite.md)
