---
title: "CMClockInvalidate(_:)"
framework: coremedia
role: symbol
role_heading: Function
path: "coremedia/cmclockinvalidate(_:)"
---

# CMClockInvalidate(_:)

Stops the clock.

## Declaration

```swift
func CMClockInvalidate(_ clock: CMClock)
```

## Parameters

- `clock`: The clock to stop.

## Discussion

Discussion After invalidation, the clock returns errors from all APIs. Only the owner of the clock should call this function.
