diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-13 19:44:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 19:44:04 +0200 |
commit | d0628180aef4987d24f91329e4c3378b5a037a34 (patch) | |
tree | bb68bba682f572661fa0067fb2d60d0682bbf5e0 /servers | |
parent | 3bf3a0abaabd2f7c9da78a0f847b4c9a5a6ad837 (diff) | |
parent | 62fb462165425f927a8961385219a534a500c39e (diff) |
Merge pull request #32799 from clayjohn/free_pools
Properly free sky and lightmap caches in multithreaded server
Diffstat (limited to 'servers')
-rw-r--r-- | servers/visual/visual_server_wrap_mt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/visual_server_wrap_mt.cpp b/servers/visual/visual_server_wrap_mt.cpp index 79e4d8cbba..1f0217c0ce 100644 --- a/servers/visual/visual_server_wrap_mt.cpp +++ b/servers/visual/visual_server_wrap_mt.cpp @@ -137,6 +137,7 @@ void VisualServerWrapMT::finish() { } texture_free_cached_ids(); + sky_free_cached_ids(); shader_free_cached_ids(); material_free_cached_ids(); mesh_free_cached_ids(); @@ -148,6 +149,7 @@ void VisualServerWrapMT::finish() { spot_light_free_cached_ids(); reflection_probe_free_cached_ids(); gi_probe_free_cached_ids(); + lightmap_capture_free_cached_ids(); particles_free_cached_ids(); camera_free_cached_ids(); viewport_free_cached_ids(); |