Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 9810d1ecf72..31f2b412a7f 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -438,6 +438,10 @@ void WM_exit_ext(bContext *C, const short do_python)
BKE_mball_cubeTable_free();
+ /* render code might still access databases */
+ RE_FreeAllRender();
+ RE_engines_exit();
+
ED_preview_free_dbase(); /* frees a Main dbase, before free_blender! */
if (C && wm)
@@ -468,9 +472,6 @@ void WM_exit_ext(bContext *C, const short do_python)
ANIM_keyingset_infos_exit();
- RE_FreeAllRender();
- RE_engines_exit();
-
// free_txt_data();