# "Subsystem Lifetimes in Detail" function calls order described incorrectly

**URL:** <https://forums.unrealengine.com/t/subsystem-lifetimes-in-detail-function-calls-order-described-incorrectly/1210410>\
**Category:** Programming & Scripting\
**Tags:** documentation-bug, unreal-engine\
**Created:** [June 25, 2023, 7:59pm UTC](https://forums.unrealengine.com/t/subsystem-lifetimes-in-detail-function-calls-order-described-incorrectly/1210410 "2023-06-25T19:59:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArsenTahmazian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArsenTahmazian](https://forums.unrealengine.com/u/ArsenTahmazian)\
**Post date:** [June 25, 2023, 7:59pm UTC](https://forums.unrealengine.com/t/subsystem-lifetimes-in-detail-function-calls-order-described-incorrectly/1210410/1 "2023-06-25T19:59:42Z")

</div>

Docs:

> When the Engine Subsystem’s module loads, the subsystem will **Initialize** () after the module’s **Startup** () function has returned, and the subsystem will **Deinitialize** () after the module’s **Shutdown** () function has returned.

So it states following order:

```auto
Module.Startup() -> Subsystem.Initialize()
Module.Shotdown() -> Subsystem.Deinitialize()

```

**Documentation should be** (and in fact it works this way):

```auto
Module.Startup() -> Subsystem.Initialize()
Subsystem.Deinitialize() -> Module.Shotdown()

```

[Link to docs page](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Subsystems/)
