# ExitOptions

**Kind**: interface | **Module**: [Platform](https://docs.interop.io/desktop/reference/javascript/platform/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/platform/exitoptions/index.html

Options for platform shutdown or restart.

## Properties

- **`autoSave`** (`boolean`, optional)
  If `true`, will save the current Global Layout before shutdown or restart of the platform.
- **`reason`** (`string`, optional)
  Reason for the platform shutdown or restart.
- **`showDialog`** (`boolean`, optional)
  If `true`, will show a confirmation dialog when shutting down or restarting the platform.
