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 running, 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-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)