# closeOnQuit

> If enabled, the Unity Player will close the browser running it when the application quits.

## Definition

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

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