---
title: CHHapticEngine.StoppedReason.engineDestroyed
framework: corehaptics
role: symbol
role_heading: Case
path: corehaptics/chhapticengine/stoppedreason/enginedestroyed
---

# CHHapticEngine.StoppedReason.engineDestroyed

The system destroyed the engine.

## Declaration

```swift
case engineDestroyed
```

## Discussion

Discussion This reason typically indicates a programming error. Maintain a strong reference to the engine to for as long as you need to execute haptics.

## See Also

### Stopped Reasons

- [CHHapticEngine.StoppedReason.audioSessionInterrupt](corehaptics/chhapticengine/stoppedreason/audiosessioninterrupt.md)
- [CHHapticEngine.StoppedReason.applicationSuspended](corehaptics/chhapticengine/stoppedreason/applicationsuspended.md)
- [CHHapticEngine.StoppedReason.gameControllerDisconnect](corehaptics/chhapticengine/stoppedreason/gamecontrollerdisconnect.md)
- [CHHapticEngine.StoppedReason.idleTimeout](corehaptics/chhapticengine/stoppedreason/idletimeout.md)
- [CHHapticEngine.StoppedReason.notifyWhenFinished](corehaptics/chhapticengine/stoppedreason/notifywhenfinished.md)
- [CHHapticEngine.StoppedReason.systemError](corehaptics/chhapticengine/stoppedreason/systemerror.md)
