Properly free sky and lightmap caches in multithreaded server

This commit is contained in:
clayjohn 2019-10-13 09:31:00 -07:00
parent 74ab8be57a
commit 62fb462165

View file

@ -137,6 +137,7 @@ void VisualServerWrapMT::finish() {
} }
texture_free_cached_ids(); texture_free_cached_ids();
sky_free_cached_ids();
shader_free_cached_ids(); shader_free_cached_ids();
material_free_cached_ids(); material_free_cached_ids();
mesh_free_cached_ids(); mesh_free_cached_ids();
@ -148,6 +149,7 @@ void VisualServerWrapMT::finish() {
spot_light_free_cached_ids(); spot_light_free_cached_ids();
reflection_probe_free_cached_ids(); reflection_probe_free_cached_ids();
gi_probe_free_cached_ids(); gi_probe_free_cached_ids();
lightmap_capture_free_cached_ids();
particles_free_cached_ids(); particles_free_cached_ids();
camera_free_cached_ids(); camera_free_cached_ids();
viewport_free_cached_ids(); viewport_free_cached_ids();