---
description: Note about closing the application
---

# Closing the Application

Closing your application by [Application.Quit](https://docs.unity3d.com/530/Documentation/ScriptReference/Application.Quit.html) function is not recommended. When calling this method, Unity will terminate the application hence AATKit will not be able to send all statistics to the server correctly. So if you want to have the most accurate statistics in Gravite Dashboard, please avoid closing your app by the code. Please note the similar issue occurs when setting [Input.backButtonLeavesApp](https://docs.unity3d.com/ScriptReference/Input-backButtonLeavesApp.html) to true.
