Writing a quitApplication Function in a Typical PowerVR Framework Application

quitApplication handles the release of any non-automatic objects before the application exits

quitApplication will be called once, before the application exits. In reality, as the application is about to exit, little needs to be done here except release non-automatic objects, such as file handles potentially held and database connections. Some still consider it best practice to tear down any leftover resources held here, even if they will normally automatically be freed by the operating system.