# exitOnSuspend

> Application should exit when suspended to background.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** exitOnSuspend is deprecated, use appInBackgroundBehavior

```csharp
public static bool exitOnSuspend { get; set; }
```
