Files
khaotic-engine-Reborn/enginecustom
CatChow0 76fdd3c76e Patch - Adds component shutdown functionality - V13.6.1
Implements a shutdown mechanism for components and entities,
ensuring proper resource release and preventing memory leaks.

This change introduces a virtual `Shutdown` method to the
`Component` class, allowing derived components to release
specific resources when they are removed from an entity or
when the entity is destroyed. The `Entity` class now calls
the `Shutdown` method on all its components during its own
release process. The `EntityManager` now calls the
`release()` method when destroying an entity.

This enhancement ensures that resources, such as FMOD sound
objects and channels in the `AudioComponent`, are properly
released, preventing potential resource leaks and improving
the stability of the engine.
2025-09-17 16:47:01 +02:00
..
2024-03-20 13:03:56 +01:00
2024-03-20 13:03:56 +01:00
2024-03-20 13:03:56 +01:00
2025-06-03 16:29:44 +02:00
2024-03-29 14:45:44 +01:00
2024-09-29 18:19:49 +02:00
2024-04-12 17:34:59 +02:00
2024-04-08 17:55:56 +02:00
2024-04-08 17:33:11 +02:00
2024-04-08 17:33:11 +02:00
2024-09-29 18:19:49 +02:00
2025-03-17 12:59:04 +01:00
2024-04-12 17:34:59 +02:00