Engine Shutdown
This article describes in detail the steps taken by the UNIGINE engine when the Engine::shutdown() function is called. For other steps and general information about execution sequence, see the Execution Sequence article.
Shutdown steps#
- If the editor logic is run, it calls its shutdown() function.
- The world logic calls the shutdown() function.
- UNIGINE calls the shutdown() function of the system logic. Here, for example, you can set a splash screen with credits to be shown when exiting the UNIGINE-based application.
- The shutdown() function of all plugins is called.
- If the user has tweaked any settings, the engine saves changes into the configuration file.
- World, sound, and file system threads are terminated.
- All resources allocated for UNIGINE are freed.
- Memory allocator is shut down.
Last update:
2021-04-29
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)