own patch [#27752] Python Callback (Scriptlink functionality)
[blender.git] / source / blender / blenkernel / intern / blender.c
index 0f545ad3ff904b59274992865fd60eef1dca2337..633a05589cd5cf0369288632792a60c2f2fe1eb4 100644 (file)
@@ -64,6 +64,7 @@
 #include "BLI_dynstr.h"
 #include "BLI_path_util.h"
 #include "BLI_utildefines.h"
+#include "BLI_callbacks.h"
 
 #include "IMB_imbuf.h"
 
@@ -110,6 +111,9 @@ void free_blender(void)
        BKE_spacetypes_free();          /* after free main, it uses space callbacks */
        
        IMB_exit();
+
+       BLI_cb_finalize();
+
        seq_stripelem_cache_destruct();
        
        free_nodesystem();